summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2010-07-23 14:56:20 (GMT)
committerAdrian C. (anrxc) <anrxc@sysphere.org>2010-07-23 14:57:56 (GMT)
commit1117d8e6071b3b328911e052eec86386f0bb3bb0 (patch)
treeb243bb23a86c80cd9c46de61afc9d27bb360d671
parentfa65e6af599bd5c0f813a5239e602ecd553ef8b9 (diff)
downloaddotfiles-1117d8e6071b3b328911e052eec86386f0bb3bb0.tar.xz
xinitrc: switch to variable window-manager selection
Slim configuration should be changed to use something like WM=%session instead of appending the session to the end. But, slim is broken anyway and I don't see it return any time soon.
-rwxr-xr-xxinitrc3
1 files changed, 1 insertions, 2 deletions
diff --git a/xinitrc b/xinitrc
index 5dc5044..d3691f1 100755
--- a/xinitrc
+++ b/xinitrc
@@ -4,7 +4,6 @@
# {{{ Environment settings
-export OOO_FORCE_DESKTOP="gnome"
errorlog="${HOME}/.xsession-errors"
gnupglog="${HOME}/.gnupg/gpg-agent.info"
# }}}
@@ -94,7 +93,7 @@ ogg123 -q "${HOME}/.local/share/gajim/sounds/voices/voice-system-activated.ogg"
# {{{ Window manager selection
-case "$1" in
+case "$WM" in
twm)
exec twm
;;