From 47e7501fb672f7ef2e113f6f33b5e93fd22d684f Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sun, 8 Sep 2024 02:53:02 +0100 Subject: (Scripts)~minor adjustments --- Scripts/.local/scripts/status/battery | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Scripts/.local/scripts/status') 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="" -- cgit v1.2.3-13-gbd6f