diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-09-08 02:53:02 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-09-08 02:53:02 +0100 |
commit | 47e7501fb672f7ef2e113f6f33b5e93fd22d684f (patch) | |
tree | 91aa7ceeb852850b8935fd017cdb49c6b6d0986b /Scripts/.local/scripts/status/battery | |
parent | df4d28987d9f3e8a44e3145960539228a3b7a897 (diff) | |
download | dotfiles-47e7501fb672f7ef2e113f6f33b5e93fd22d684f.tar.gz dotfiles-47e7501fb672f7ef2e113f6f33b5e93fd22d684f.tar.bz2 dotfiles-47e7501fb672f7ef2e113f6f33b5e93fd22d684f.zip |
(Scripts)~minor adjustments
Diffstat (limited to 'Scripts/.local/scripts/status/battery')
-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 adf1f03..f2b887e 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 -status=$(cat /sys/class/power_supply/BAT0/status) time_left=$($HOME/.local/scripts/status/battery_time_left); +status="" if [[ $status == "Charging" ]] then status="" |