Fix battery i3block

This commit is contained in:
Arti Zirk 2020-02-28 13:20:50 +02:00
parent 4a3c61b212
commit 465c27b3a2
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
status=$(busctl get-property org.freedesktop.UPower /org/freedesktop/UPower/devices/DisplayDevice org.freedesktop.UPower.Device State | cut -d' ' -f2)
charge_f=$(busctl get-property org.freedesktop.UPower /org/freedesktop/UPower/devices/DisplayDevice org.freedesktop.UPower.Device Percentage | cut -d' ' -f2)
echo -ne "$charge_f %"
echo -e "$charge_f %"
#if [[ "$charge_f" -lt 20 ]]; then
# printf '\uf244'