summaryrefslogtreecommitdiff
path: root/xmobarrc
diff options
context:
space:
mode:
authorNikolaus Gotsche <n@softwarefools.com>2017-09-27 12:42:16 +0200
committerNikolaus Gotsche <n@softwarefools.com>2017-09-27 12:42:16 +0200
commitade296253bce9c1f629606a4ff8ff3f5e11828eb (patch)
tree01a467ab5b86495e51a96579e94bdba926c34ab2 /xmobarrc
parentb24ea22672a06d8924b3afb9ef3753292eab27e4 (diff)
xMobar - Weather finally working (v0.24.3)HEADmaster
Diffstat (limited to 'xmobarrc')
-rw-r--r--xmobarrc30
1 files changed, 27 insertions, 3 deletions
diff --git a/xmobarrc b/xmobarrc
index 63160f2..9f4f61f 100644
--- a/xmobarrc
+++ b/xmobarrc
@@ -7,21 +7,45 @@ Config { font = "-*-Fixed-Bold-R-Normal-*-13-*-*-*-*-*-*-*"
, fgColor = "grey"
, alpha = 150
, position = TopW L 93
- , commands = [ Run Weather "LOWW" ["-t","<tempC>C","-L","18","-H","25","--normal","green","--high","red","--low","lightblue"] 10
+ , commands = [ Run Weather "LOWW" ["-t","<tempC>C","-L","18","-H","25","--normal","green","--high","red","--low","lightblue"] 600
, Run Network "eth0" ["-L","0","-H","32","--normal","green","--high","red"] 10
, Run Network "eth1" ["-L","0","-H","32","--normal","green","--high","red"] 10
, Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10
+ , Run DynNetwork [ "--template" , "<dev>: <tx>kB/s|<rx>kB/s"
+ , "--Low" , "1000" -- units: B/s
+ , "--High" , "5000" -- units: B/s
+ , "--low" , "darkgreen"
+ , "--normal" , "darkorange"
+ , "--high" , "darkred"
+ ] 10
+ -- cpu activity monitor
+ , Run MultiCpu [ "--template" , "Cpu: <total0>%/<total1>%"
+ , "--Low" , "50" -- units: %
+ , "--High" , "85" -- units: %
+ , "--low" , "darkgreen"
+ , "--normal" , "darkorange"
+ , "--high" , "darkred"
+ ] 10
+ -- cpu core temperature monitor
+ , Run CoreTemp [ "--template" , "Temp: <core0>°C|<core1>°C"
+ , "--Low" , "70" -- units: °C
+ , "--High" , "80" -- units: °C
+ , "--low" , "darkgreen"
+ , "--normal" , "darkorange"
+ , "--high" , "darkred"
+ ] 50
, Run Memory ["-t","Mem: <usedratio>%"] 10
, Run Swap [] 10
, Run Com "uname" ["-s","-r"] "" 36000
, Run Date "%a %b %_d %Y %H:%M:%S" "date" 10
, Run Battery ["-t","<acstatus>: <left>%","--","-O", "AC","-o", "Bat","-h","green","-l","red"] 10
- , Run Com "/bin/bash" ["-c", "~/.xmonad/get-volume"] "myvolume" 10
+ , Run Com "/bin/bash" ["-c", "~/scripts/get-volume"] "myvolume" 10
, Run StdinReader
]
, sepChar = "%"
, alignSep = "}{"
- , template = "%StdinReader% }{ %cpu% | %memory% * %swap% | %battery% | Vol: %myvolume% | <fc=#ee9a00>%date%</fc> "
+ , template = "%StdinReader% }{ %multicpu% | %memory% * %swap% | %dynnetwork% | %battery% | Vol: %myvolume% | %LOWW% | <fc=#ee9a00>%date%</fc> "
+-- , template = "%StdinReader% }{ %cpu% | %memory% * %swap% | %battery% | Vol: %myvolume% | %LOWW% | <fc=#ee9a00>%date%</fc> "
-- , template = "%StdinReader% | %cpu% | %memory% * %swap% | %battery% | Vol: %myvolume% | %eth0% - %eth1% }{<fc=#ee9a00>%date%</fc> | %uname% | %LOWW% "
}