From 425a965910949349a813afce86e753c5fc00ee51 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Fri, 9 Sep 2022 00:04:28 +0530 Subject: moved workspace info to lemonbar as polybar was kinda broken --- .config/XMonad/xmonad.hs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.config/XMonad/xmonad.hs') diff --git a/.config/XMonad/xmonad.hs b/.config/XMonad/xmonad.hs index ad75f9d..3b1c995 100644 --- a/.config/XMonad/xmonad.hs +++ b/.config/XMonad/xmonad.hs @@ -8,13 +8,16 @@ import XMonad.Hooks.EwmhDesktops import XMonad.Util.EZConfig import XMonad.Util.Run +import XMonad.Hooks.StatusBar + import Keybindings import Defaults import Hooks main :: IO () main = do - xmonad $ ewmhFullscreen $ ewmh $ docks def { + myLemonbar <- statusBarPipe myLemonbarCmd (pure myLemonbarPP) + xmonad $ withSB myLemonbar $ ewmhFullscreen $ ewmh $ docks def { focusFollowsMouse = True , terminal = myTerminal , borderWidth = myBorderWidth -- cgit v1.2.3