I don't need bigger font for battery alert.
This commit is contained in:
parent
46b0dc0ebc
commit
58a8129dba
1 changed files with 1 additions and 1 deletions
|
@ -13,5 +13,5 @@ for battery in /sys/class/power_supply/BAT?*; do
|
|||
esac
|
||||
capacity=$(cat "$battery/capacity")
|
||||
# Will make a warn variable if discharging and low
|
||||
[ "$capacity" -le 20 ] && printf "<span size='140%%' background='#770000' foreground='#ffffff'>${status} ${capacity}%%</span>" || printf "${status} ${capacity}%%"
|
||||
[ "$capacity" -le 20 ] && printf "<span background='#770000' foreground='#ffffff'>${status} ${capacity}%%</span>" || printf "${status} ${capacity}%%"
|
||||
done && exit 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue