diff options
Diffstat (limited to 'Scripts/.local/scripts/status')
-rwxr-xr-x | Scripts/.local/scripts/status/battery | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Scripts/.local/scripts/status/battery b/Scripts/.local/scripts/status/battery index f2b887e..ccbec38 100755 --- a/Scripts/.local/scripts/status/battery +++ b/Scripts/.local/scripts/status/battery @@ -1,8 +1,8 @@ #!/usr/bin/env bash capacity=$(cat /sys/class/power_supply/BAT0/capacity) || break time_left=$($HOME/.local/scripts/status/battery_time_left); +status=$(cat /sys/class/power_supply/BAT0/status) -status="" if [[ $status == "Charging" ]] then status="" |