diff options
author | Mattias Andrée <maandree@kth.se> | 2023-11-25 18:08:34 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-11-25 18:08:34 +0100 |
commit | 5b7e0db847c46affc207c327835d1efd3b2727de (patch) | |
tree | 764855cde8a304641a359e907157dc0525ff8a20 /xmonad/xmonad.hs.gpp | |
parent | Update dmenu to use different fonts (primary size due to different DPI, distance, and screen size) on different computers (diff) | |
download | dotfiles-5b7e0db847c46affc207c327835d1efd3b2727de.tar.gz dotfiles-5b7e0db847c46affc207c327835d1efd3b2727de.tar.bz2 dotfiles-5b7e0db847c46affc207c327835d1efd3b2727de.tar.xz |
Misc updates
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | xmonad/xmonad.hs.gpp | 10 |
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 |