From 413a69c5cd8000303cb7c21e2fe4e3e0760d7686 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Tue, 25 Jul 2023 01:38:19 +0300 Subject: [PATCH] we --- config/xmonad/xmonad.hs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/config/xmonad/xmonad.hs b/config/xmonad/xmonad.hs index d054de21..6c47498e 100644 --- a/config/xmonad/xmonad.hs +++ b/config/xmonad/xmonad.hs @@ -263,7 +263,7 @@ myXmobarFormat = def { ppOrder = \(ws:_) -> [ws] } -myStatusBar= statusBarProp "xmobar" (pure myXmobarFormat) +myStatusBar = statusBarProp "xmobar" (pure myXmobarFormat) ------------------------------------------------------------------------ -- Startup hook @@ -284,14 +284,17 @@ myStartupHook = do -- 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, manageHook = manageDocks <+> manageHook def, handleEventHook = handleEventHook def <> Hacks.trayerPaddingXmobarEventHook - } + +} -- A structure containing your configuration settings, overriding -- fields in the default config. Any you don't override, will