summaryrefslogblamecommitdiffstats
path: root/xmobar.hs
blob: 7532f75f0fb4a33f36229871033f7388383219a8 (plain) (tree)
1
                                                                
















                                
                                                                                     









                                                                               



                                                                                                                      
                                                                        
                                                    

                                                                
                                           


                        
                                             
                                                                                                     
                                              



                                                                  

                                                                                                                                                                             
        
Config { font = "xft:Liberation Mono:size=9:bold:antialias=true"
       , 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","<skyCondition> <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 MultiCoreTemp ["-t","<avg>°C","-L","60","-H","80","-l","green","-n","yellow","-h","red"] 50
                    , Run Battery ["-t","BAT:(<watts>)[<left>%]",
                                   "-L", "10", "-H", "80", "-p", "3",
                                   "-a", "notify-send -u critical 'Battery running out!!'"] 30
                    , Run Memory ["-t","Mem: <usedratio>% <usedbar>"] 10
                    , Run Alsa "default" "Master" []
                    , Run Date "%a %b %_d %Y %H:%M:%S" "date" 10
                    , Run Kbd [("us", "US"), ("gr", "GR")]
		    , Run UnsafeStdinReader
                    ]
       , sepChar = "%"
       , alignSep = "}{"
       , template = "%UnsafeStdinReader% }{ \
                    \<fc=#ab68bb>%/home/grm/.config/i3blocks/scripts/thevpn%</fc> %wlo1% - %eth0% | \
                    \%cpu% %multicoretemp% | \
                    \%/home/grm/.config/i3blocks/scripts/mumu% | \
                    \%memory% | \
                    \%LGTS% | \
                    \%battery% | \
                    \<action=`pavucontrol`>%alsa:default:Master%</action> | \
                    \<action=`/home/grm/.xmonad/scripts/date_left`><action=`/home/grm/.xmonad/scripts/date_right` button=3><fc=#ee9a00>%date%</fc></action></action> [%kbd%]"
       }