From f50d8e3518ed16e3a685f02f18e6fe5f8f7058ff Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Sun, 29 Jul 2018 13:28:43 -0400 Subject: Forgot to wrap the layouts in avoidStruts --- .xmonad/xmonad.hs | 5 +++-- 1 file 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) $ -- cgit v1.2.3