Update xmobar
parent
ed1045c2dc
commit
a68cb91717
|
@ -0,0 +1,3 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
cat "$HOME/.project"
|
20
.xmobarrc
20
.xmobarrc
|
@ -1,15 +1,16 @@
|
||||||
Config { overrideRedirect = False
|
Config { overrideRedirect = False
|
||||||
, font = "xft:Iosevka Term SS08:size=12:antialias=true"
|
, font = "Iosevka Term SS08 12"
|
||||||
, bgColor = "#cccccc"
|
, textOffset = 1
|
||||||
, fgColor = "#111"
|
, bgColor = "#cccccc"
|
||||||
, position = TopW L 100
|
, fgColor = "#111"
|
||||||
|
, position = TopH 20
|
||||||
, commands = [ Run Cpu
|
, commands = [ Run Cpu
|
||||||
[ "-L", "3"
|
[ "-L", "3"
|
||||||
, "-H", "50"
|
, "-H", "50"
|
||||||
, "--high" , "red"
|
, "--high" , "red"
|
||||||
] 10
|
] 10
|
||||||
, Run Battery [
|
, Run Battery [
|
||||||
"-t", "<acstatus>: <left>% - <timeleft>",
|
"-t", "<acstatus>〈<left>% <timeleft>〉 ",
|
||||||
"--",
|
"--",
|
||||||
--"-c", "charge_full",
|
--"-c", "charge_full",
|
||||||
"-O", "AC",
|
"-O", "AC",
|
||||||
|
@ -18,19 +19,20 @@ Config { overrideRedirect = False
|
||||||
"-l", "red"
|
"-l", "red"
|
||||||
] 10
|
] 10
|
||||||
, Run Alsa "default" "Master"
|
, Run Alsa "default" "Master"
|
||||||
[ "--template", "Vol: <volumestatus>"
|
[ "--template", "V〈<volumestatus>〉 "
|
||||||
, "--suffix" , "True"
|
, "--suffix" , "True"
|
||||||
, "--"
|
, "--"
|
||||||
, "--on", ""
|
, "--on", ""
|
||||||
]
|
]
|
||||||
, 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 %b %e %H:%M" "date" 10
|
||||||
, Run Com "sb-pomo" [] "pomo" 10
|
, Run Com "sb-pomo" [] "pomo" 10
|
||||||
, Run Com "sb-anki" [] "anki" 10
|
, Run Com "sb-anki" [] "anki" 10
|
||||||
, Run Com "sb-tasks" [] "tasks" 10
|
, Run Com "sb-tasks" [] "tasks" 300
|
||||||
|
, Run Com "sb-project" [] "proj" 300
|
||||||
, Run XMonadLog
|
, Run XMonadLog
|
||||||
]
|
]
|
||||||
, sepChar = "%"
|
, sepChar = "%"
|
||||||
, alignSep = "}{"
|
, alignSep = "}{"
|
||||||
, template = "%XMonadLog%%anki%%pomo%%tasks% }{ %alsa:default:Master% | %battery% | %date%"
|
, template = "%XMonadLog% %anki% }%pomo% %proj% { %alsa:default:Master% %battery% %date%"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue