projects
/
tpope-extra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New hostnames (obsolete file)
[tpope-extra.git]
/
bin
/
gamelaunch
diff --git
a/bin/gamelaunch
b/bin/gamelaunch
index c5bd4295db7ea1ed5583e0845b5c6267fab2a389..cb0a5c48a1a2bb31d0500c60ceec7374e831f7b8 100755
(executable)
--- a/
bin/gamelaunch
+++ b/
bin/gamelaunch
@@
-60,7
+60,7
@@
case "$basename" in
;;
esac
;;
esac
-activity="`tpope activity`"
+activity="`tpope
status
activity`"
if [ -n "$game" ]; then
tpope status activity "Playing $game"
fi
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
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
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
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
FvwmCommand "GoToDeskAndPage 0 0 0" >/dev/null 2>&1
-
- tpope status activity "$activity"
+ tpope status activity -c
}
trap on_exit EXIT
}
trap on_exit EXIT