aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2018-07-29 13:28:43 -0400
committerRyan Kavanagh <rak@debian.org>2018-07-29 13:28:43 -0400
commitf50d8e3518ed16e3a685f02f18e6fe5f8f7058ff (patch)
treebaf4f93993ecef09302939f5ed06f65cb337e6a8
parentAdded missing docksEventHook (diff)
Forgot to wrap the layouts in avoidStruts
-rw-r--r--.xmonad/xmonad.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs
index 348d794..0891fa9 100644
--- a/.xmonad/xmonad.hs
+++ b/.xmonad/xmonad.hs
@@ -18,7 +18,7 @@ import XMonad.Hooks.DynamicLog (dzenColor, dynamicLogWithPP
, ppCurrent, ppVisible, ppSep, ppHidden
, ppUrgent, ppTitle, ppExtras
, ppOrder, ppOutput, trim, wrap)
-import XMonad.Hooks.ManageDocks (docks, docksEventHook
+import XMonad.Hooks.ManageDocks (avoidStruts, docks, docksEventHook
, ToggleStruts(ToggleStruts))
import XMonad.Hooks.ManageHelpers (isFullscreen, doFullFloat)
import XMonad.Hooks.UrgencyHook (focusUrgent)
@@ -295,7 +295,8 @@ myWorkspaces = ["term", "web", "chatter", "reading", "5", "music", "LaTeX"]
++ (map show [8..20])
-- smartBorders removes borders when there's no ambiguity
-myLayout = mkToggle (single MIRROR) (smartBorders $ toggleLayouts Full perWS)
+myLayout = mkToggle (single MIRROR) (smartBorders $ toggleLayouts Full
+ $ avoidStruts perWS)
where
-- Per workspace layout selection.
perWS = onWorkspace "term" (myTall ||| customRyan) $