summaryrefslogtreecommitdiffstats
path: root/xmobar.hs
diff options
context:
space:
mode:
authorAnastasios Grammenos <anastasios.grammenos@noris.gr>2020-09-30 16:17:19 +0300
committerAnastasios Grammenos <anastasios.grammenos@noris.gr>2020-09-30 16:17:19 +0300
commit25febb79a55766f0a508af6f493d8da4426f678d (patch)
tree0c0b0a14083d2ad5b9ab69b70a19333c634d7498 /xmobar.hs
parent1b42f6954ed7c1dba5d8f41d8735b62afdb33f37 (diff)
downloadxmonad-config-25febb79a55766f0a508af6f493d8da4426f678d.tar.gz
xmonad-config-25febb79a55766f0a508af6f493d8da4426f678d.tar.bz2
xmonad-config-25febb79a55766f0a508af6f493d8da4426f678d.zip
updates..HEADmaster
Diffstat (limited to 'xmobar.hs')
-rw-r--r--xmobar.hs21
1 files changed, 12 insertions, 9 deletions
diff --git a/xmobar.hs b/xmobar.hs
index 86730d0..7532f75 100644
--- a/xmobar.hs
+++ b/xmobar.hs
@@ -1,5 +1,4 @@
-Config { font = "-misc-fixed-*-*-*-*-12-*-*-*-*-*-*-*"
---Config { font = "xfg:Noto Sans"
+Config { font = "xft:Liberation Mono:size=9:bold:antialias=true"
, additionalFonts = []
, borderColor = "black"
, border = TopB
@@ -17,7 +16,7 @@ Config { font = "-misc-fixed-*-*-*-*-12-*-*-*-*-*-*-*"
, iconRoot = "."
, allDesktops = True
, overrideRedirect = True
- , commands = [ Run Weather "LGTS" ["-t","Thess: <tempC>C, rh <rh>%",
+ , commands = [ Run Weather "LGTS" ["-t","<skyCondition> <tempC>°C, rh <rh>%",
"-L","15","-H","25",
"--normal","green",
"--high","red",
@@ -28,21 +27,25 @@ Config { font = "-misc-fixed-*-*-*-*-12-*-*-*-*-*-*-*"
"--normal","green","--high","red"] 10
, Run Cpu ["-L","3","-H","50",
"--normal","green","--high","red"] 10
- , Run Battery ["-t","[<watts>]<leftbar>[<left>%]"] 30
+ , 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 Com "uname" ["-s","-r"] "" 36000
+ , Run Alsa "default" "Master" []
, Run Date "%a %b %_d %Y %H:%M:%S" "date" 10
, Run Kbd [("us", "US"), ("gr", "GR")]
- , Run StdinReader
+ , Run UnsafeStdinReader
]
, sepChar = "%"
, alignSep = "}{"
- , template = "%StdinReader% }{ \
+ , template = "%UnsafeStdinReader% }{ \
\<fc=#ab68bb>%/home/grm/.config/i3blocks/scripts/thevpn%</fc> %wlo1% - %eth0% | \
- \%cpu% | \
+ \%cpu% %multicoretemp% | \
\%/home/grm/.config/i3blocks/scripts/mumu% | \
\%memory% | \
\%LGTS% | \
\%battery% | \
- \<fc=#ee9a00>%date%</fc> [ %kbd% ]"
+ \<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%]"
}