X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=.profile.d%2Faliases.sh;fp=.profile.d%2Faliases.sh;h=8e9a7f58948a92dd24efe60cbcd8677e672de472;hb=598dd9e338204b76641c4eb863c1a9ce72830aac;hp=ddb898c81d17ffb10ee9d585a93786364a4eb3b5;hpb=8b6a28cd3292932beaafc6fd8bc1382f34a4d191;p=home.git 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'