Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I tried this example config from xmobar.org. And it works. Config { font = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*" , additionalFonts = [] , borderColor = "black" , border = TopB , bgColor = "black" , fgColor = "grey" , alpha = 255 , position = Top , textOffset = -1 , iconOffset = -1 , lowerOnStart = True , pickBroadest = False , persistent = False , hideOnStart = False , iconRoot = "." , allDesktops = True , overrideRedirect = True , commands = [ Run Weather "EGPF" ["-t",": C", "-L","18","-H","25", "--normal","green", "--high","red", "--low","lightblue"] 36000 , Run Network "eth0" ["-L","0","-H","32", "--normal","green","--high","red"] 10 , Run Network "eth1" ["-L","0","-H","32", "--normal","green","--high","red"] 10 , Run Cpu ["-L","3","-H","50", "--normal","green","--high","red"] 10 , Run Memory ["-t","Mem: %"] 10 , Run Swap [] 10 , Run Com "uname" ["-s","-r"] "" 36000 , Run Date "%a %b %_d %Y %H:%M:%S" "date" 10 ] , sepChar = "%" , alignSep = "}{" , template = "%cpu% | %memory% * %swap% | %eth0% - %eth1% }\ \{ %date%| %EGPF% | %uname%" }
You can use a Haskell configuration file on XMobar. This is the way to go if you want to create your own module. If you want to see an example here is my configuration file. https://github.com/Thiago4532/dotfiles/blob/master/.config/xmobar/xmobar.hs