Use polybar
parent
4849b64ea5
commit
5a7df6bcd2
|
@ -68,7 +68,7 @@ shiftAndView id = doF (W.view id) <> doF (W.shift id)
|
||||||
-- startupHook
|
-- startupHook
|
||||||
myStartupHook =
|
myStartupHook =
|
||||||
do
|
do
|
||||||
spawn "albert"
|
spawn "killall polybar && polybar -r"
|
||||||
|
|
||||||
-- manageHook
|
-- manageHook
|
||||||
myManageHook :: ManageHook
|
myManageHook :: ManageHook
|
||||||
|
@ -264,13 +264,14 @@ resetTemp = spawn "screen-temperature 3000"
|
||||||
-- Main {{{
|
-- Main {{{
|
||||||
|
|
||||||
main :: IO ()
|
main :: IO ()
|
||||||
main = do xmonad
|
main =
|
||||||
$ ewmh
|
do { xmonad } $
|
||||||
$ withEasySB
|
ewmh $
|
||||||
|
withEasySB
|
||||||
(sb1 <> sb2)
|
(sb1 <> sb2)
|
||||||
defToggleStrutsKey
|
defToggleStrutsKey
|
||||||
myConfig
|
myConfig
|
||||||
where
|
where
|
||||||
[sb1, sb2] = [statusBarProp "xmobar" $ pure (pp' (S i) pp) | i <- [0..1]]
|
[sb1, sb2] = [statusBarProp "polybar" $ pure (pp' (S i) pp) | i <- [0 .. 1]]
|
||||||
|
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
Loading…
Reference in New Issue