This commit is contained in:
Sakooooo 2023-07-25 01:38:19 +03:00
parent 3e6455df24
commit 413a69c5cd
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -263,7 +263,7 @@ myXmobarFormat = def {
ppOrder = \(ws:_) -> [ws] ppOrder = \(ws:_) -> [ws]
} }
myStatusBar= statusBarProp "xmobar" (pure myXmobarFormat) myStatusBar = statusBarProp "xmobar" (pure myXmobarFormat)
------------------------------------------------------------------------ ------------------------------------------------------------------------
-- Startup hook -- Startup hook
@ -284,14 +284,17 @@ myStartupHook = do
-- Run xmonad with the settings you specify. No need to modify this. -- Run xmonad with the settings you specify. No need to modify this.
-- --
main = xmonad . withEasySB myStatusBar $ defaults { main = xmonad . withEasySB myStatusBar defToggleStrutsKey $ myConfig
myConfig = defaults {
layoutHook = avoidStruts $ layoutHook def, layoutHook = avoidStruts $ layoutHook def,
manageHook = manageDocks <+> manageHook def, manageHook = manageDocks <+> manageHook def,
handleEventHook = handleEventHook def handleEventHook = handleEventHook def
<> Hacks.trayerPaddingXmobarEventHook <> Hacks.trayerPaddingXmobarEventHook
}
}
-- A structure containing your configuration settings, overriding -- A structure containing your configuration settings, overriding
-- fields in the default config. Any you don't override, will -- fields in the default config. Any you don't override, will