summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian <[email protected]>2026-05-19 21:08:33 -0500
committerChristian <[email protected]>2026-05-19 21:08:33 -0500
commit5f2d08a422948970fb8802b8c65b41a99ba082e4 (patch)
treec0e37821fccd3ca3b7412669f7bf01df77f069e2
parent94f2b8f05515576ea10eeaf0bfadf1cf2742160e (diff)
Add Mod+F keybinding to toggle xmobar struts
-rw-r--r--modules/xmonad.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/xmonad.hs b/modules/xmonad.hs
index 6de28c7..79dbbba 100644
--- a/modules/xmonad.hs
+++ b/modules/xmonad.hs
@@ -23,7 +23,8 @@ myConfig = defaultConfig
, focusedBorderColor = "#4eb4fa"
, terminal = "alacritty" }
`additionalKeys`
- [ ( (mod1Mask, xK_q), restart "xmonad" True ) ]
+ [ ( (mod1Mask, xK_q), restart "xmonad" True )
+ , ( (mod1Mask, xK_f), sendMessage ToggleStruts ) ]
mySB = statusBarProp "xmobar" (pure xmobarPP)
-- main = xmonad $ withEasySB mySB defToggleStrutsKey def