X-Git-Url: http://git.tpope.net/?p=tpope-extra.git;a=blobdiff_plain;f=bin%2Fgamelaunch;h=cb0a5c48a1a2bb31d0500c60ceec7374e831f7b8;hp=c5bd4295db7ea1ed5583e0845b5c6267fab2a389;hb=refs%2Fheads%2Fmaster;hpb=267e885ebe2286c217682ac2a129ed758fc354f0 diff --git a/bin/gamelaunch b/bin/gamelaunch index c5bd429..cb0a5c4 100755 --- a/bin/gamelaunch +++ b/bin/gamelaunch @@ -60,7 +60,7 @@ case "$basename" in ;; esac -activity="`tpope activity`" +activity="`tpope status activity`" if [ -n "$game" ]; then tpope status activity "Playing $game" fi @@ -68,7 +68,7 @@ fi if lspci 2>/dev/null|grep 'VT8233/A/8235/8237' >/dev/null; then SDL_DSP_NOSELECT=1 export SDL_DSP_NOSELECT - sh -c "sleep 2; amixer sset IEC958 unmute >/dev/null &" + sh -c "(sleep 2; amixer sset IEC958 unmute >/dev/null) &" fi if lspci 2>/dev/null|grep 'Savage 3D' >/dev/null; then @@ -83,9 +83,9 @@ on_exit() { xmodmap "$HOME/.Xmodmap" 2>/dev/null || xmodmap "$HOME/.xmodmap" xset m 3 3 [ -z "$s3" ] || s3switch $s3 >/dev/null + xvidtune -unlock FvwmCommand "GoToDeskAndPage 0 0 0" >/dev/null 2>&1 - - tpope status activity "$activity" + tpope status activity -c } trap on_exit EXIT