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