feat(config-toggle): right-align ON badge to mirror value direction

The badge now positions each state by where it sits on the scale: OFF
left-aligned, DEFAULT centered, ON right-aligned. This makes the
OFF ← DEFAULT → ON ordering visible at a glance and reinforces the
direction the ←→/h l keys move.
This commit is contained in:
2026-06-11 03:16:33 -04:00
parent cfd4749e72
commit 764a9d35e5
+2 -2
View File
@@ -83,7 +83,7 @@ function __config_toggle_draw
set -l badge
switch $val
case on
set badge "$c_ok""ON $c_reset"
set badge "$c_ok"" ON$c_reset"
case off
set badge "$c_err""OFF $c_reset"
case '*'
@@ -111,7 +111,7 @@ function __config_toggle_draw
set -l badge
switch $val
case on
set badge "$c_ok""ON $c_reset"
set badge "$c_ok"" ON$c_reset"
case off
set badge "$c_err""OFF $c_reset"
case '*'