[xmonad] view workspaces in Xmobar

linuxham linuxham at wowway.com
Tue Jul 5 16:44:01 UTC 2022


Hello, I am new to configuring Xmonad, and am trying to get Xmobar to 
show workspaces. I am using the Xmonad.hs from here:

https://xmonad.org/TUTORIAL.html

And my Xmobarrc is attached.

I am running Endeavor OS, with xmonad-git-0.17, and 
xmonad-contrib-git-0.17, and xmobar-get-0.36

When I boot into Xmonad, the Xmobar says "Updating", but doesn't show 
anything!

Thanks Ed

PS I read all of April, but didn't catch the fix!
-------------- next part --------------
Config { font = "xft:Dina:pixelsize=13"
       , bgColor = "black"
       , fgColor = "grey"
       , position = TopW L 100
       , lowerOnStart = True
       , commands = [ Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10
                    , Run Memory ["-t","Mem: <usedratio>%"] 10
                    , Run Swap [] 10
                    , Run Date "%a %b %_d %H:%M" "date" 10
                    , Run UnsafeStdinReader
                    ]
       , sepChar = "%"
       , alignSep = "}{"
       , template = "%UnsafeStdinReader% }{ %cpu% | %memory% * %swap%    <fc=#ee9a00>%date%</fc>"
       }


More information about the xmonad mailing list