1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-03-27 21:47:46 +01:00

statusbar: battery doesnt need time

This commit is contained in:
TiynGER 2023-01-12 17:39:50 +01:00
parent 6563c11338
commit daaad7b706

View File

@ -1,7 +1,6 @@
#!/usr/bin/env sh
capacity=$(cat /sys/class/power_supply/"$1"/capacity) || exit
time=$(acpi | awk '{ print $5 }')
status=$(cat /sys/class/power_supply/"$1"/status)
[ -z $warn ] && warn=" "