Update 'xmobar' config

master
Hektor Misplon 2022-12-01 16:16:35 +01:00
parent 75f5df5aed
commit 671e9ed919
1 changed files with 16 additions and 5 deletions

View File

@ -1,13 +1,21 @@
Config { overrideRedirect = False Config { overrideRedirect = False
, font = "xft:Iosevka Term SS08:size=12:antialias=true" , font = "xft:Iosevka Term SS08:size=12:antialias=true"
, bgColor = "#111" , bgColor = "#cccccc"
, fgColor = "#ccc" , fgColor = "#111"
, position = TopW L 90 , position = TopW L 100
, commands = [ Run Cpu , commands = [ Run Cpu
[ "-L", "3" [ "-L", "3"
, "-H", "50" , "-H", "50"
, "--high" , "red" , "--high" , "red"
, "--normal", "green" ] 10
, Run Battery [
"-t", "<acstatus>: <left>% - <timeleft>",
"--",
--"-c", "charge_full",
"-O", "AC",
"-o", "Bat",
"-h", "green",
"-l", "red"
] 10 ] 10
, Run Alsa "default" "Master" , Run Alsa "default" "Master"
[ "--template", "Vol: <volumestatus>" [ "--template", "Vol: <volumestatus>"
@ -17,9 +25,12 @@ Config { overrideRedirect = False
] ]
, Run Memory ["--template", "Mem: <usedratio>%"] 10 , Run Memory ["--template", "Mem: <usedratio>%"] 10
, Run Date "%a %Y-%m-%d %H:%M" "date" 10 , Run Date "%a %Y-%m-%d %H:%M" "date" 10
, Run Com "sb-pomo" [] "pomo" 10
, Run Com "sb-anki" [] "anki" 10
, Run Com "sb-tasks" [] "tasks" 10
, Run XMonadLog , Run XMonadLog
] ]
, sepChar = "%" , sepChar = "%"
, alignSep = "}{" , alignSep = "}{"
, template = "%XMonadLog% }{ %alsa:default:Master% | %cpu% | %memory% | %date% " , template = "%XMonadLog%%anki%%pomo%%tasks% }{ %alsa:default:Master% | %battery% | %date%"
} }