all repos

dotfiles @ fe22aa56af649aff6ded102de90586d363dc7bae

my dotfiles
1 files changed, 4 insertions(+), 2 deletions(-)
bin: shell check power-monitor
Author: Olexandr Smirnov olexsmir@gmail.com
Committed at: 2025-07-30 18:57:50 +0300
Parent: 47a93b0
M bin/power-monitor.sh

@@ -19,7 +19,9 @@ fi

echo "$bat_path" } -readonly BAT="$(get_battery_path)" +readonly BAT +BAT="$(get_battery_path)" + readonly BAT_STATUS="$BAT/status" readonly BAT_CAP="$BAT/capacity" readonly LOW_BAT_PERCENT=30

@@ -40,7 +42,7 @@ log "powerprofilesctl not found"

exit 1 fi -if [[ -n "''${STARTUP_WAIT:-}" ]]; then +if [[ -n "${STARTUP_WAIT:-}" ]]; then sleep "$STARTUP_WAIT" fi