Consistency

This commit is contained in:
David Heinemeier Hansson
2026-05-21 19:30:30 +02:00
parent 486c73e6df
commit fed2298235
14 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ if [[ $shell_output == "true" ]]; then
start=$(cat /sys/class/power_supply/BAT*/charge_control_start_threshold 2>/dev/null | head -1)
if [[ -n $end ]]; then
if [[ -n $start && $start != "$end" ]]; then
if [[ -n $start && $start != $end ]]; then
printf 'threshold\t%s-%s%%\n' "$start" "$end"
else
printf 'threshold\t%s%%\n' "$end"