diff options
Diffstat (limited to 'xmobar.hs')
-rw-r--r-- | xmobar.hs | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/xmobar.hs b/xmobar.hs new file mode 100644 index 0000000..86730d0 --- /dev/null +++ b/xmobar.hs @@ -0,0 +1,48 @@ +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% ]" + } |