projects
/
tpope-extra.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0eb98c7
)
Change fvwm desktop
author
Tim Pope
<code@tpope.net>
Wed, 8 Jun 2005 04:21:59 +0000
(
04:21
+0000)
committer
Tim Pope
<code@tpope.net>
Wed, 8 Jun 2005 04:21:59 +0000
(
04:21
+0000)
bin/gamelaunch
patch
|
blob
|
history
diff --git
a/bin/gamelaunch
b/bin/gamelaunch
index 8cf8d6c12f33ea5f57011b86640228d4474f3c68..c5bd4295db7ea1ed5583e0845b5c6267fab2a389 100755
(executable)
--- a/
bin/gamelaunch
+++ b/
bin/gamelaunch
@@
-50,7
+50,7
@@
fi
setxkbmap us
xmodmap "$HOME/.Xmodmap" 2>/dev/null || xmodmap "$HOME/.xmodmap"
setxkbmap us
xmodmap "$HOME/.Xmodmap" 2>/dev/null || xmodmap "$HOME/.xmodmap"
-
p
kill -STOP unclutter
+
s
kill -STOP unclutter
case "$basename" in
ut2004|quake3|doom3|et|armyops)
case "$basename" in
ut2004|quake3|doom3|et|armyops)
@@
-60,9
+60,9
@@
case "$basename" in
;;
esac
;;
esac
-
tpope activity > "$HOME/.activity.$$.bak
"
+
activity="`tpope activity`
"
if [ -n "$game" ]; then
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
fi
if lspci 2>/dev/null|grep 'VT8233/A/8235/8237' >/dev/null; then
@@
-78,16
+78,17
@@
fi
on_exit() {
[ -z "$sdpid" ] || kill "$sdpid"
on_exit() {
[ -z "$sdpid" ] || kill "$sdpid"
-
p
kill -CONT unclutter
+
s
kill -CONT unclutter
setxkbmap us
xmodmap "$HOME/.Xmodmap" 2>/dev/null || xmodmap "$HOME/.xmodmap"
xset m 3 3
[ -z "$s3" ] || s3switch $s3 >/dev/null
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
}
trap on_exit EXIT
+FvwmCommand "GoToDeskAndPage 0 2 2" >/dev/null 2>&1
tpope display-manage $binary "$@" # 2>&1
tpope display-manage $binary "$@" # 2>&1