summaryrefslogblamecommitdiffstats
path: root/xmobar.hs
blob: 86730d0291909eb5d320ccf7821d1c8c1cec131e (plain) (tree)















































                                                                                                     
Config { font = "-misc-fixed-*-*-*-*-12-*-*-*-*-*-*-*"
--Config { font = "xfg:Noto Sans"
       , additionalFonts = []
       , borderColor = "black"
       , border = TopB
       , bgColor = "black"
       , fgColor = "grey"
       , alpha = 255
       , position = TopW R 95 
       -- , position = TopP 0 20
       , textOffset = -1
       , iconOffset = -1
       , lowerOnStart = True
       , pickBroadest = False
       , persistent = True
       , hideOnStart = False
       , iconRoot = "."
       , allDesktops = True
       , overrideRedirect = True
       , commands = [ Run Weather "LGTS" ["-t","Thess: <tempC>C, rh <rh>%",
                                          "-L","15","-H","25",
                                          "--normal","green",
                                          "--high","red",
                                          "--low","lightblue"] 36000
                    , Run Network "eth0" ["-L","0","-H","32",
                                          "--normal","green","--high","red"] 10
                    , Run Network "wlo1" ["-L","0","-H","32",
                                          "--normal","green","--high","red"] 10
                    , Run Cpu ["-L","3","-H","50",
                               "--normal","green","--high","red"] 10
                    , Run Battery ["-t","[<watts>]<leftbar>[<left>%]"] 30
                    , Run Memory ["-t","Mem: <usedratio>% <usedbar>"] 10
--                    , Run Com "uname" ["-s","-r"] "" 36000
                    , Run Date "%a %b %_d %Y %H:%M:%S" "date" 10
                    , Run Kbd [("us", "US"), ("gr", "GR")]
		    , Run StdinReader
                    ]
       , sepChar = "%"
       , alignSep = "}{"
       , template = "%StdinReader% }{ \
                    \<fc=#ab68bb>%/home/grm/.config/i3blocks/scripts/thevpn%</fc> %wlo1% - %eth0% | \
                    \%cpu% | \
                    \%/home/grm/.config/i3blocks/scripts/mumu% | \
                    \%memory% | \
                    \%LGTS% | \
                    \%battery% | \
                    \<fc=#ee9a00>%date%</fc> [ %kbd% ]"
       }