herbstluftwm: panel: adjust color for charging state
This commit is contained in:
parent
5cdfeb842a
commit
3905d3409b
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ function battery() {
|
|||
status=$(acpi -a | cut -d':' -f2)
|
||||
battery=$(acpi -b | cut -d, -f2 | sed -e 's/[^0-9]//g')
|
||||
if [[ $status == " on-line" ]]; then
|
||||
echo -n $(icon ac2 brightblue) ${battery}%
|
||||
echo -n $(icon ac2 brightmagenta) ${battery}%
|
||||
elif [[ $battery -le 20 ]]; then
|
||||
echo -n $(icon battery_horz1 red) ${battery}%
|
||||
elif [[ $battery -le 65 ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue