summaryrefslogtreecommitdiffstats
path: root/xmobar.hs
diff options
context:
space:
mode:
authorAnastasios Grammenos <anastasios.grammenos@noris.gr>2020-09-12 15:00:51 +0300
committerAnastasios Grammenos <anastasios.grammenos@noris.gr>2020-09-12 15:00:51 +0300
commit1b42f6954ed7c1dba5d8f41d8735b62afdb33f37 (patch)
tree3b66960756ed4800eda2833027254df12e33cce4 /xmobar.hs
downloadxmonad-config-1b42f6954ed7c1dba5d8f41d8735b62afdb33f37.tar.gz
xmonad-config-1b42f6954ed7c1dba5d8f41d8735b62afdb33f37.tar.bz2
xmonad-config-1b42f6954ed7c1dba5d8f41d8735b62afdb33f37.zip
Initial..
Diffstat (limited to 'xmobar.hs')
-rw-r--r--xmobar.hs48
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% ]"
+ }