mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-07 07:09:15 +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
|
, position = BottomH 30
|
||||||
, commands = [ Run Date "%a %d %H:%M:%S" "date" 10
|
, commands = [ Run Date "%a %d %H:%M:%S" "date" 10
|
||||||
, Run Battery
|
, Run Battery
|
||||||
[ "-t", "<left> (<timeleft>)"
|
[ "-t", "<left> (<timeleft>"
|
||||||
, "-H", "70"
|
, "-H", "70"
|
||||||
, "-L", "20"
|
, "-L", "20"
|
||||||
, "-h", "green"
|
, "-h", "green"
|
||||||
|
|
@ -24,7 +24,8 @@
|
||||||
, "-A", "20"
|
, "-A", "20"
|
||||||
, "-a", "notify-send -u critical \"Battery Low\" \"Please charge your battery\""
|
, "-a", "notify-send -u critical \"Battery Low\" \"Please charge your battery\""
|
||||||
]
|
]
|
||||||
600
|
60
|
||||||
|
, Run Com "powerprofilesctl" [ "get" ] "" 60
|
||||||
, Run XMonadLog
|
, Run XMonadLog
|
||||||
, Run
|
, Run
|
||||||
DynNetwork
|
DynNetwork
|
||||||
|
|
@ -51,11 +52,10 @@
|
||||||
, "--low", "blue"
|
, "--low", "blue"
|
||||||
]
|
]
|
||||||
9000
|
9000
|
||||||
, Run Com "powerprofilesctl" [ "get" ] "" 60
|
|
||||||
]
|
]
|
||||||
, sepChar = "%"
|
, sepChar = "%"
|
||||||
, alignSep = "}{"
|
, 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