aboutsummaryrefslogtreecommitdiff
path: root/.config/XMonad/xmonad.hs
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-09-09 00:04:28 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-09-09 00:04:28 +0530
commit425a965910949349a813afce86e753c5fc00ee51 (patch)
tree0ed74e9dba2fa27877f42aa16a9878020ea68fb7 /.config/XMonad/xmonad.hs
parente5f1bbba2be64cff04cc0bf7d2224c8a50a1c6dc (diff)
moved workspace info to lemonbar as polybar was kinda broken
Diffstat (limited to '.config/XMonad/xmonad.hs')
-rw-r--r--.config/XMonad/xmonad.hs5
1 files changed, 4 insertions, 1 deletions
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