5 lines
197 B
Bash
Executable file
5 lines
197 B
Bash
Executable file
#!/bin/bash
|
|
|
|
PERCENTAGESTR=$(upower -i /org/freedesktop/UPower/devices/battery_ip5xxx_battery | grep percentage)
|
|
echo "${PERCENTAGESTR//[!0-9]/}" > /home/katie/.config/polybar/batt/ip5xxx-battery/
|