acpi requirement removed

This commit is contained in:
Luke Smith 2018-07-05 10:29:57 -04:00
parent e0afa129a4
commit 00b780fcd8

View file

@ -51,7 +51,7 @@ label=📶
interval=10 interval=10
[battery] [battery]
command=acpi | cut -d " " -f3-5 | sed -e "s/,//g;s/Discharging/🔋/;s/Charging/🔌/;s/Unknown/❓/;s/Full/⚡/;s/ 0*/ /g;s/ :/ /g" command=echo $(cat /sys/class/power_supply/BAT0/status | sed -e "s/,//g;s/Discharging/🔋/;s/Charging/🔌/;s/Unknown/❓/;s/Full/⚡/;s/ 0*/ /g;s/ :/ /g") $(cat /sys/class/power_supply/BAT0/capacity)
interval=5 interval=5
[time] [time]