From: Mike Frysinger Date: Sun, 15 Jun 2014 01:45:23 +0000 (-0400) Subject: add mplayer alias X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=598dd9e338204b76641c4eb863c1a9ce72830aac;p=home.git add mplayer alias --- 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'