rcfiles/.xmobarrc

107 lines
4.5 KiB
Plaintext
Raw Normal View History

2016-09-15 10:19:49 +00:00
Config {
-- Appearance
2021-05-27 04:38:07 +00:00
font = "xft:Open Sans:size=9:antialias=true"
2020-05-23 08:11:44 +00:00
, bgColor = "#282828"
, fgColor = "#ebdbb2"
2020-05-15 05:22:25 +00:00
, position = TopW L 93 -- Leave space for Trayer
2016-09-15 10:19:49 +00:00
-- Layout
2020-03-17 12:12:34 +00:00
, sepChar = "%" -- delineator between plugin names and straight text
, alignSep = "}{" -- separator between left-right alignment
2021-05-27 04:38:07 +00:00
, template = "%StdinReader% }{ %YBRK% | UV: %uv Brisbane% | %cpu% %coretemp% %cpufreq% | %memory% | %swap% | %dynnetwork% | %battery% | %date%"
2016-09-15 10:19:49 +00:00
-- Behaviour
2020-03-17 12:12:34 +00:00
, lowerOnStart = False -- send to bottom of window stack on start
, pickBroadest = False -- choose widest display (multi-monitor)
, overrideRedirect = False -- set the Override Redirect flag (Xlib)
2016-09-15 10:19:49 +00:00
--Plugins
, commands =
-- CPU Activity Monitor
2020-05-15 05:22:25 +00:00
[ Run Cpu [ "--template" , "CPU: <total>%"
2016-09-15 10:19:49 +00:00
, "--Low" , "30" -- units: %
, "--High" , "70" -- units: %
2020-05-23 08:11:44 +00:00
, "--low" , "#b8bb26"
, "--normal" , "#ebdbb2"
, "--high" , "#fb4934"
2016-09-15 10:19:49 +00:00
] 10
-- cpu core temperature monitor
2020-05-22 13:52:24 +00:00
, Run CoreTemp [ "--template" , "Temp: <core0>°C <core1>°C"
2016-09-15 10:19:49 +00:00
, "--Low" , "30" -- units: °C
, "--High" , "80" -- units: °C
2020-05-23 08:11:44 +00:00
, "--low" , "#b8bb26"
, "--normal" , "#ebdbb2"
, "--high" , "#fb4934"
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: %
2020-05-23 08:11:44 +00:00
, "--low" , "#b8bb26"
, "--normal" , "#ebdbb2"
, "--high" , "#fb4934"
2016-09-15 10:19:49 +00:00
] 10
-- Battery Monitor
, Run BatteryP ["BAT"] [ "--template" , "BAT: <acstatus>"
2016-09-15 10:19:49 +00:00
, "--Low" , "10" -- units: %
, "--High" , "80" -- units: %
2020-05-23 08:11:44 +00:00
, "--low" , "#fb4934"
, "--normal" , "#ebdbb2"
, "--high" , "#b8bb26"
2016-09-15 10:19:49 +00:00
, "--" -- battery specific options
2020-03-17 12:12:34 +00:00
-- discharging status
, "-o" , "<left>% (<timeleft>)"
-- AC "on" status
2020-05-23 08:11:44 +00:00
, "-O" , "<fc=#b8bb26>Charging</fc>"
2020-03-17 12:12:34 +00:00
-- charged status
2020-05-23 08:11:44 +00:00
, "-i" , "<fc=#b8bb26>Charged</fc>"
2016-09-15 10:19:49 +00:00
] 50
-- Read from STDIN
, Run StdinReader
2020-03-17 12:12:34 +00:00
-- Display the current Wireless SSID
-- , Run Wireless "wlp1s0" [ "-t", "<essid>" ] 10
2016-09-15 10:19:49 +00:00
-- Weather Monitor
2020-05-15 05:22:25 +00:00
, Run Weather "YBRK" [ "--template" , " <skyCondition> <tempC>C <rh>% <pressure> hPa"
2016-09-15 10:19:49 +00:00
, "--Low" , "10"
, "--High" , "35"
2020-05-23 08:11:44 +00:00
, "--low" , "#b8bb26"
, "--normal" , "#ebdbb2"
, "--high" , "#fb4934"
2016-09-15 10:19:49 +00:00
] 36000
-- Time and Date Display
2020-05-23 08:11:44 +00:00
, Run Date "<fc=#b8bb26>%a %b %_d %H:%M</fc>" "date" 10
2017-08-29 10:20:42 +00:00
-- Display the current UV
2020-03-17 12:12:34 +00:00
, Run UVMeter "Brisbane" [ "-H" , "3"
2017-08-29 10:20:42 +00:00
, "-L" , "3"
2020-05-23 08:11:44 +00:00
, "--low" , "#ebdbb2"
, "--high" , "#fb4934"
2017-08-29 10:20:42 +00:00
] 900
2020-05-15 05:22:25 +00:00
2019-01-18 00:56:08 +00:00
-- MPD status
, Run MPD ["-t","<artist> - <title> (<album>) <statei> ","--", "-P", ">>", "-Z", "|", "-S", "><"] 10
2020-05-15 05:22:25 +00:00
, Run Swap [] 10
, Run DynNetwork [ "--template" , "<dev>: <tx>kB/s"
, "--Low" , "50000" -- units: B/s
, "--High" , "500000" -- units: B/s
2020-05-23 08:11:44 +00:00
, "--low" , "#b8bb26"
, "--normal" , "#ebdbb2"
, "--high" , "fb4934"
2020-05-15 05:22:25 +00:00
] 10
2016-09-15 10:19:49 +00:00
]
}