From cab9f98ef9b4d068975e149115695a80605c1651 Mon Sep 17 00:00:00 2001 From: ADAM David Alan Martin Date: Fri, 19 Jun 2026 16:41:24 -0400 Subject: [PATCH] No need to hardcode this anymore. --- tcshrc.prompt.final | 2 -- 1 file changed, 2 deletions(-) diff --git a/tcshrc.prompt.final b/tcshrc.prompt.final index b6e674b..0d6a204 100644 --- a/tcshrc.prompt.final +++ b/tcshrc.prompt.final @@ -233,8 +233,6 @@ if( $?CSHENV_SHOW_BATTERY_LEVEL ) then set battery_level=`pmset -g batt | grep -Eo "\d+%" | cut -d% -f1` else if( $?CSHENV_BATTERY_DEVICE ) then set battery_level=`cat ${CSHENV_BATTERY_DEVICE}` - else - set battery_level=`cat /sys/class/power_supply/BAT1/capacity` endif if( ${battery_level} < ${critical_battery_level} ) then set battery_color=${red}${blink}