aboutsummaryrefslogtreecommitdiffstats
path: root/xmonad/xmonad.hs.gpp
diff options
context:
space:
mode:
Diffstat (limited to 'xmonad/xmonad.hs.gpp')
-rw-r--r--xmonad/xmonad.hs.gpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/xmonad/xmonad.hs.gpp b/xmonad/xmonad.hs.gpp
index 6a9358e..7a6f960 100644
--- a/xmonad/xmonad.hs.gpp
+++ b/xmonad/xmonad.hs.gpp
@@ -54,12 +54,16 @@ import qualified Data.Map as M
$$<
+ hostname="$(hostname | tr '[[:upper:]]' '[[:lower:]]')"
+
workspace_1=main
- if test "$(hostname | tr '[[:upper:]]' '[[:lower:]]')" = zenith; then
+ if test "$hostname" = zenith; then
workspace_7=chat
workspace_8=mail
+ workspace_9=media
+ else
+ workspace_9=off
fi
- workspace_9=media
modmask=mod4Mask # Super_L
focus_on_hover=True
@@ -163,6 +167,8 @@ $$>fi
{-- TODO , (( $${modmask} .|. shiftMask , xK_m), sendMessage RestoreNextMinimizedWin) --}
]
+{-- TODO preselect workspace 9 on secondary monitor --}
+
---- ==== Layout settings ==== ----
ratios = [ toRational (2/(1 + sqrt 5 :: Double)) -- golden ratio