From 598dd9e338204b76641c4eb863c1a9ce72830aac Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 14 Jun 2014 21:45:23 -0400 Subject: [PATCH] add mplayer alias --- .profile.d/aliases.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.profile.d/aliases.sh b/.profile.d/aliases.sh index ddb898c..8e9a7f5 100644 --- a/.profile.d/aliases.sh +++ b/.profile.d/aliases.sh @@ -29,6 +29,7 @@ alias repoman='repoman -q -q' alias rrsync='rsync -Hav --inplace --progress' alias s='aspell -a' sss() { aspell -a <<<"$*"; } +smplayer() { sudo -u smriti sh -c 'export DISPLAY=:0; xset s reset; exec mplayer "$@" >/dev/null 2>&1' sh "$@" ; } svlc() { sudo -u smriti sh -c 'export DISPLAY=:0; xset s reset; exec vlc "$@" >/dev/null 2>&1' sh "$@" ; } svnc() { sudo -u smriti sh -c 'export DISPLAY=:0; xset s reset; exec x11vnc -q -nopw' ; } alias xine='xine -l' -- 2.39.5