mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
xmobar: fuse battery format
This commit is contained in:
parent
9e5cab7986
commit
e3a9d6ac49
1 changed files with 4 additions and 4 deletions
|
|
@ -13,7 +13,7 @@
|
|||
, position = BottomH 30
|
||||
, commands = [ Run Date "%a %d %H:%M:%S" "date" 10
|
||||
, Run Battery
|
||||
[ "-t", "<left> (<timeleft>)"
|
||||
[ "-t", "<left> (<timeleft>"
|
||||
, "-H", "70"
|
||||
, "-L", "20"
|
||||
, "-h", "green"
|
||||
|
|
@ -24,7 +24,8 @@
|
|||
, "-A", "20"
|
||||
, "-a", "notify-send -u critical \"Battery Low\" \"Please charge your battery\""
|
||||
]
|
||||
600
|
||||
60
|
||||
, Run Com "powerprofilesctl" [ "get" ] "" 60
|
||||
, Run XMonadLog
|
||||
, Run
|
||||
DynNetwork
|
||||
|
|
@ -51,11 +52,10 @@
|
|||
, "--low", "blue"
|
||||
]
|
||||
9000
|
||||
, Run Com "powerprofilesctl" [ "get" ] "" 60
|
||||
]
|
||||
, sepChar = "%"
|
||||
, alignSep = "}{"
|
||||
, template = " %XMonadLog% }{ %dynnetwork% | %LFRN% | %battery% %powerprofilesctl% | %date% "
|
||||
, template = " %XMonadLog% }{ %dynnetwork% | %LFRN% | %battery%, %powerprofilesctl%) | %date% "
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue