From 1b42f6954ed7c1dba5d8f41d8735b62afdb33f37 Mon Sep 17 00:00:00 2001 From: Anastasios Grammenos Date: Sat, 12 Sep 2020 15:00:51 +0300 Subject: Initial.. --- xmobar.hs | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 xmobar.hs (limited to 'xmobar.hs') 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: C, 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","[][%]"] 30 + , Run Memory ["-t","Mem: % "] 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% }{ \ + \%/home/grm/.config/i3blocks/scripts/thevpn% %wlo1% - %eth0% | \ + \%cpu% | \ + \%/home/grm/.config/i3blocks/scripts/mumu% | \ + \%memory% | \ + \%LGTS% | \ + \%battery% | \ + \%date% [ %kbd% ]" + } -- cgit v1.2.3