Skip to content

Commit

Permalink
Update xmonad to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
hcoffey1 committed Jan 28, 2023
1 parent 05cec4c commit 113c479
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .xmonad/xmonad.hs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import qualified Data.Map as M
import XMonad.Hooks.DynamicLog (dynamicLogWithPP, wrap, xmobarPP, xmobarColor, shorten, PP(..))
import XMonad.Hooks.EwmhDesktops -- for some fullscreen events, also for xcomposite in obs.
import XMonad.Hooks.FadeInactive
import XMonad.Hooks.ManageDocks (avoidStruts, docksEventHook, manageDocks, ToggleStruts(..))
import XMonad.Hooks.ManageDocks (avoidStruts, docks, manageDocks, ToggleStruts(..))
import XMonad.Hooks.ManageHelpers (isFullscreen, doFullFloat)
import XMonad.Hooks.ServerMode
import XMonad.Hooks.SetWMName
Expand Down Expand Up @@ -697,12 +697,12 @@ myShowWNameTheme = def
}

-- The layout hook
myLayoutHook = avoidStruts $ mouseResize $ windowArrange $ T.toggleLayouts floats
myLayoutHook = spacing 5 $ avoidStruts $ mouseResize $ windowArrange $ T.toggleLayouts floats
$ mkToggle (NBFULL ?? NOBORDERS ?? EOT) myDefaultLayout
where
-- I've commented out the layouts I don't use.
myDefaultLayout = tall
||| magnify
||| Main.magnify
||| noBorders monocle
||| floats
||| noBorders tabs
Expand Down Expand Up @@ -914,7 +914,7 @@ main = do
, handleEventHook = serverModeEventHookCmd
<+> serverModeEventHook
<+> serverModeEventHookF "XMONAD_PRINT" (io . putStrLn)
<+> docksEventHook
-- <+> docks
, modMask = myModMask
, terminal = myTerminal
, startupHook = myStartupHook
Expand Down

0 comments on commit 113c479

Please sign in to comment.