Reorganized some xmonad config stuff

This commit is contained in:
Emmet 2023-05-22 20:41:54 -05:00
parent 76923c8f1f
commit 581a5e0cea
2 changed files with 18 additions and 18 deletions

View file

@ -428,10 +428,6 @@ myNavigation2DConfig = def {layoutNavigation = [("Tall", hybridOf sideNavigation
, floatNavigation = hybridOf lineNavigation centerNavigation
, screenNavigation = hybridOf lineNavigation centerNavigation}
-- Startup hook
myStartupHook = do
spawnOnce ("~/.config/xmonad/startup.sh '" ++ colorBg ++ "' '" ++ colorFg ++ "' '" ++ colorFocus ++ "' '" ++ colorSecondary ++ "'")
--myPP = def { ppCurrent = xmobarColor colorFocus "" }
myPP = xmobarPP { ppTitle = xmobarColor colorFocus "",
ppCurrent = xmobarStripTags ["NSP"] . xmobarColor colorFocus "",
@ -443,6 +439,10 @@ myPP = xmobarPP { ppTitle = xmobarColor colorFocus "",
}
mySB = statusBarProp "xmobar" (pure myPP)
-- Startup hook
myStartupHook = do
spawnOnce ("~/.config/xmonad/startup.sh '" ++ colorBg ++ "' '" ++ colorFg ++ "' '" ++ colorFocus ++ "' '" ++ colorSecondary ++ "'")
-- Now run xmonad with all the defaults we set up.
main = do
spawn ("xmobar -x 0")