error supressing

This commit is contained in:
tavo-wasd 2023-08-02 21:02:24 -06:00
parent cfc0a86365
commit 1899031269

View file

@ -15,7 +15,7 @@ done
[ "$bat" = "󰚥" ] && echo "$bat" && exit
# If something is charging, change status
grep -rq 'Charging' /sys/class/power_supply/BAT* && stat='Charging'
grep -rq 'Charging' /sys/class/power_supply/BAT* 2>/dev/null && stat='Charging'
# Get graphical battery level
case 1 in