Update xmobar

master
Hektor Misplon 2023-05-04 23:56:20 +02:00
parent ed1045c2dc
commit a68cb91717
2 changed files with 14 additions and 9 deletions

3
.bin/sb-project Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
cat "$HOME/.project"

View File

@ -1,15 +1,16 @@
Config { overrideRedirect = False Config { overrideRedirect = False
, font = "xft:Iosevka Term SS08:size=12:antialias=true" , font = "Iosevka Term SS08 12"
, textOffset = 1
, bgColor = "#cccccc" , bgColor = "#cccccc"
, fgColor = "#111" , fgColor = "#111"
, position = TopW L 100 , 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%"
} }