From 764a9d35e5e01658eea4c4bc4b1c07aea0af0146 Mon Sep 17 00:00:00 2001 From: rootiest Date: Thu, 11 Jun 2026 03:16:33 -0400 Subject: [PATCH] feat(config-toggle): right-align ON badge to mirror value direction MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- functions/__config_toggle_draw.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/__config_toggle_draw.fish b/functions/__config_toggle_draw.fish index 235e2f3..4dd5fbe 100644 --- a/functions/__config_toggle_draw.fish +++ b/functions/__config_toggle_draw.fish @@ -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 '*'