setxkbmap us
xmodmap "$HOME/.Xmodmap" 2>/dev/null || xmodmap "$HOME/.xmodmap"
-pkill -STOP unclutter
+skill -STOP unclutter
case "$basename" in
ut2004|quake3|doom3|et|armyops)
;;
esac
-tpope activity > "$HOME/.activity.$$.bak"
+activity="`tpope activity`"
if [ -n "$game" ]; then
- tpope activity "Playing $game"
+ tpope status activity "Playing $game"
fi
if lspci 2>/dev/null|grep 'VT8233/A/8235/8237' >/dev/null; then
on_exit() {
[ -z "$sdpid" ] || kill "$sdpid"
- pkill -CONT unclutter
+ skill -CONT unclutter
setxkbmap us
xmodmap "$HOME/.Xmodmap" 2>/dev/null || xmodmap "$HOME/.xmodmap"
xset m 3 3
[ -z "$s3" ] || s3switch $s3 >/dev/null
+ FvwmCommand "GoToDeskAndPage 0 0 0" >/dev/null 2>&1
- tpope activity "`cat "$HOME/.activity.$$.bak"`"
- rm -f "$HOME/.activity.$$.bak"
+ tpope status activity "$activity"
}
trap on_exit EXIT
+FvwmCommand "GoToDeskAndPage 0 2 2" >/dev/null 2>&1
tpope display-manage $binary "$@" # 2>&1