diff options
author | Ben Sima <ben@bsima.me> | 2018-06-13 14:38:45 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2018-06-13 14:38:45 -0700 |
commit | 3c9b749b6b8fbbe20318def041edcdc77bfc6cb5 (patch) | |
tree | 79751e4bce954bee882c1ad47ea4e47bc6595ab8 | |
parent | 7ad4d164202514c7a378a00c3751381712515795 (diff) |
Add spiral xmonad layout
-rw-r--r-- | xmonad.hs | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 } |