rcfiles/.xmobarrc

100 lines
4.1 KiB
Plaintext
Raw Normal View History

2016-09-15 10:19:49 +00:00
Config {
-- Appearance
font = "xft:OpenSans:size=10:antialias=true"
2017-02-28 13:12:56 +00:00
, bgColor = "#073642"
, fgColor = "#93a1a1"
2018-01-07 20:33:13 +00:00
, position = TopW L 95
2016-09-15 10:19:49 +00:00
-- Layout
, sepChar = "%"
, alignSep = "}{"
2017-08-29 10:20:42 +00:00
, template = "%StdinReader% }{ %multicpu% %coretemp% %cpufreq% | %memory% | %dynnetwork% | %battery% | %YBRK% %uv brisbane% | %date%"
2016-09-15 10:19:49 +00:00
-- Behaviour
, lowerOnStart = False
, pickBroadest = False -- choose widest display (multi-monitor)
2016-09-15 10:19:49 +00:00
--Plugins
, commands =
-- CPU Activity Monitor
[ Run MultiCpu [ "--template" , "CPU: <total0>%|<total2>%"
, "--Low" , "30" -- units: %
, "--High" , "70" -- units: %
2017-02-28 13:12:56 +00:00
, "--low" , "#2aa198"
, "--normal" , "#859900"
, "--high" , "#dc322f"
2016-09-15 10:19:49 +00:00
] 10
-- cpu core temperature monitor
, Run CoreTemp [ "--template" , "Temp: <core0>°C|<core1>°C"
, "--Low" , "30" -- units: °C
, "--High" , "80" -- units: °C
2017-02-28 13:12:56 +00:00
, "--low" , "#2aa198"
, "--normal" , "#859900"
, "--high" , "#dc322f"
2016-09-15 10:19:49 +00:00
] 50
-- CPU Frequency
, Run CpuFreq [ "--template" , "<cpu0>GHz <cpu1>GHz"
] 10
-- Memory Usage Monitor
, Run Memory [ "--template" , "MEM <usedratio>%"
, "--Low" , "20" -- units: %
, "--High" , "90" -- units: %
2017-02-28 13:12:56 +00:00
, "--low" , "#2aa198"
, "--normal" , "#859900"
, "--high" , "#dc322f"
2016-09-15 10:19:49 +00:00
] 10
-- Battery Monitor
, Run Battery [ "--template" , "BAT: <acstatus>"
, "--Low" , "10" -- units: %
, "--High" , "80" -- units: %
2017-02-28 13:12:56 +00:00
, "--low" , "#dc322f"
, "--normal" , "#859900"
, "--high" , "#2aa198"
2016-09-15 10:19:49 +00:00
, "--" -- battery specific options
-- discharging status
, "-o" , "<left>% (<timeleft>)"
-- AC "on" status
2017-02-28 13:12:56 +00:00
, "-O" , "<fc=#2aa198>Charging</fc>"
2016-09-15 10:19:49 +00:00
-- charged status
2017-02-28 13:12:56 +00:00
, "-i" , "<fc=#859900>Charged</fc>"
2016-09-15 10:19:49 +00:00
] 50
-- Read from STDIN
, Run StdinReader
-- Weather Monitor
, Run Weather "YBRK" [ "--template" , " <tempC>°C"
, "--Low" , "10"
, "--High" , "35"
2017-02-28 13:12:56 +00:00
, "--low" , "#2aa198"
, "--normal" , "#859900"
, "--high" , "#dc322f"
2016-09-15 10:19:49 +00:00
] 36000
-- Network Activity Monitor
, Run DynNetwork [ "--template" , "<dev>: <tx>kB/s|<rx>kB/s"
, "--Low" , "1000" -- units: kB/s
, "--High" , "5000" -- units: kB/s
2017-02-28 13:12:56 +00:00
, "--low" , "#2aa198"
, "--normal" , "#859900"
, "--high" , "#dc322f"
2016-09-15 10:19:49 +00:00
] 10
-- Time and Date Display
2017-02-28 13:12:56 +00:00
, Run Date "<fc=#268bd2>%a %b %_d %H:%M</fc>" "date" 10
2017-08-29 10:20:42 +00:00
-- Display the current UV
, Run UVMeter "brisbane" [ "-H" , "3"
, "-L" , "3"
, "--low" , "#859900"
, "--high" , "#dc322f"
] 900
2016-09-15 10:19:49 +00:00
]
}