summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmonad.hs6
1 files changed, 4 insertions, 2 deletions
diff --git a/xmonad.hs b/xmonad.hs
index ae91565..5075dea 100644
--- a/xmonad.hs
+++ b/xmonad.hs
@@ -3,7 +3,7 @@ import XMonad
import XMonad.Util.CustomKeys (customKeys)
import XMonad.Hooks.EwmhDesktops (ewmh)
import XMonad.Hooks.ManageDocks
---import System.Taffybar.Support.PagerHints (pagerHints)
+import XMonad.Layout.Spiral
delKeys conf@(XConfig {modMask = modMask}) =
[ (modMask, xK_p)
@@ -18,6 +18,8 @@ insKeys conf@(XConfig {modMask = modMask}) =
, ((modMask, xK_y), spawn "${SHELL:-\"/bin/sh\"} -c passmenu &")
]
+myLayout = spiral (6/7)
+
main =
xmonad $
ewmh $
@@ -27,7 +29,7 @@ main =
, normalBorderColor = "#002b36" -- ^ solarized dark
, focusedBorderColor = "#eee8d5" -- ^ solarized light
, manageHook = manageDocks <+> manageHook defaultConfig
- , layoutHook = avoidStruts $ layoutHook defaultConfig
+ , layoutHook = avoidStruts $ myLayout ||| layoutHook defaultConfig
, terminal = "/home/ben/.nix-profile/bin/xterm"
, keys = customKeys delKeys insKeys
}