]> git.phdru.name Git - dotfiles.git/blob - bin/smplay
.vimrc: Protect SetupEncoding from reloading unnamed buffer
[dotfiles.git] / bin / smplay
1 #! /bin/sh
2
3 (xscreensaver-command -exit
4 xset -dpms s off) &
5
6 b="`basename $0`"
7
8 if [ "$b" = smplay ]; then
9    GUI="-minigui"
10 elif [ "$b" = smplay-gui ]; then
11    GUI="-defaultgui"
12 else
13    echo "Bad script name, aborted" 1>&2
14    exit 1
15 fi
16
17 cgmem_nice 500 smplayer "$GUI" "$@"
18 "$HOME"/admin/prog/audio-cdr-video/audio/pa-volume
19
20 cd "$HOME"
21 xset +dpms s on
22 xscreensaver &