acpi requirement removed
This commit is contained in:
parent
e0afa129a4
commit
00b780fcd8
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue