aboutsummaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authortoni <matzeton@googlemail.com>2014-07-07 14:53:41 +0200
committertoni <matzeton@googlemail.com>2014-07-07 14:53:41 +0200
commitf4ae4b5edf99b360d3e3ecdd767ee192f1b5f20c (patch)
tree3107b27df68948f236209bd39083dd3224f902c0 /configs
parent8d431770f90997c21005ecde942fd0f9317413ec (diff)
minor fixes ..
Diffstat (limited to 'configs')
-rw-r--r--configs/xinitrc6
-rw-r--r--configs/xmonad.hs4
2 files changed, 7 insertions, 3 deletions
diff --git a/configs/xinitrc b/configs/xinitrc
index 2099baa..a7416bf 100644
--- a/configs/xinitrc
+++ b/configs/xinitrc
@@ -20,4 +20,8 @@ fi
# activate trickled network bandwith control
trickled
-exec ck-launch-session dbus-launch xmonad
+if [ -x /usr/bin/ck-launch-session ]; then
+ exec ck-launch-session dbus-launch xmonad
+else
+ exec dbus-launch xmonad
+fi
diff --git a/configs/xmonad.hs b/configs/xmonad.hs
index 0fe0e65..67cbfc5 100644
--- a/configs/xmonad.hs
+++ b/configs/xmonad.hs
@@ -320,8 +320,8 @@ spawnToWorkspace program workspace = do
myStartupHook :: X ()
myStartupHook = do
setWMName "LG3D"
- spawnToWorkspace "konsole" "1:web"
- spawnToWorkspace "konsole" "2:term"
+ spawnToWorkspace myTerminal "1:web"
+ spawnToWorkspace myTerminal "2:term"
------------------------------------------------------------------------