mirror of
https://github.com/fredrikr79/nixos.git
synced 2025-12-24 10:00:21 +01:00
65 lines
2.9 KiB
Plaintext
65 lines
2.9 KiB
Plaintext
Config { overrideRedirect = False
|
|
, font = "Uiua386 10"
|
|
, bgColor = "#282a36"
|
|
, lowerOnStart = True
|
|
, fgColor = "#f8f8f2"
|
|
, position = TopW L 100
|
|
, commands = [ Run Cpu
|
|
[ "-L", "3"
|
|
, "-H", "50"
|
|
, "--template", " <total>%"
|
|
, "--high" , "#ff5555"
|
|
, "--normal", "#ffb86c"
|
|
, "--low", "#50fa7b"
|
|
] 10
|
|
, Run Memory
|
|
[ "--template", " <usedratio>%"
|
|
, "--high" , "#ff5555"
|
|
, "--normal", "#ffb86c"
|
|
, "--low", "#50fa7b"
|
|
] 10
|
|
, Run Alsa "default" "Master"
|
|
[ "--template", " <volumestatus>"
|
|
, "--low" , "#ff5555"
|
|
, "--normal", "#ffb86c"
|
|
, "--high", "#50fa7b"
|
|
, "--suffix" , "True"
|
|
, "--"
|
|
, "--on", ""
|
|
]
|
|
, Run Date "%a %Y-%m-%d <fc=#8be9fd>%H:%M:%S</fc>" "date" 10
|
|
, Run XMonadLog
|
|
, Run Battery [
|
|
"-t", "<acstatus> <left>%",
|
|
"--",
|
|
"-O", " ",
|
|
"-i", " ",
|
|
"-o", " ",
|
|
"-h", "#ff5555",
|
|
"-l", "#50fa7b"
|
|
] 10
|
|
, Run CoreTemp [ "--template" , "<core0> <core1> <core2> <core3>°C"
|
|
, "--Low" , "70" -- units: °C
|
|
, "--High" , "80" -- units: °C
|
|
, "--low" , "#50fa7b"
|
|
, "--normal" , "#ffb86c"
|
|
, "--high" , "#ff5555"
|
|
] 50
|
|
, Run DynNetwork [ "--template" , " <tx> <rx> kB/s"
|
|
, "--Low" , "1000" -- units: kB/s
|
|
, "--High" , "10000" -- units: kB/s
|
|
, "--low" , "#50fa7b"
|
|
, "--normal" , "#ffb86c"
|
|
, "--high" , "#ff5555"
|
|
] 10
|
|
, Run Brightness [ "-t", " <percent>%"
|
|
, "--low" , "#ff5555"
|
|
, "--normal" , "#ffb86c"
|
|
, "--high" , "#50fa7b",
|
|
"--", "-D", "intel_backlight" ] 60
|
|
]
|
|
, sepChar = "%"
|
|
, alignSep = "}{"
|
|
, template = " %XMonadLog% | %alsa:default:Master% } %date% { %bright% | %cpu% - %coretemp% | %memory% | %dynnetwork% | %battery% "
|
|
}
|