Breathing-block status indicator (blue/green/red) #10
+4
-1
@@ -115,7 +115,10 @@ ui_quiet_run() {
|
|||||||
|
|
||||||
local -a bg=()
|
local -a bg=()
|
||||||
case "$depth" in
|
case "$depth" in
|
||||||
256) bg=( "48;5;17" "48;5;19" "48;5;21" "48;5;27" "48;5;33" "48;5;27" "48;5;21" "48;5;19" ) ;;
|
# Deep-amplitude breathe: dark navy (17) to BRIGHT blue (45). Adjacent
|
||||||
|
# shades must differ enough to survive flicker fusion — a subtle ramp
|
||||||
|
# at 20fps reads as a solid block (VM-proven).
|
||||||
|
256) bg=( "48;5;17" "48;5;19" "48;5;21" "48;5;27" "48;5;33" "48;5;39" "48;5;45" "48;5;39" "48;5;33" "48;5;27" "48;5;21" "48;5;19" ) ;;
|
||||||
16) bg=( "44" "104" "44" "104" ) ;;
|
16) bg=( "44" "104" "44" "104" ) ;;
|
||||||
esac
|
esac
|
||||||
local -a ch=( "|" "/" "-" "\\" )
|
local -a ch=( "|" "/" "-" "\\" )
|
||||||
|
|||||||
+1
-1
@@ -42,7 +42,7 @@ _ub_busy_loop() {
|
|||||||
local depth pal=() i
|
local depth pal=() i
|
||||||
depth=$(_ub_depth)
|
depth=$(_ub_depth)
|
||||||
case "$depth" in
|
case "$depth" in
|
||||||
256) pal=(17 18 19 20 21 27 33 27 21 20 19 18) ;; # blue breathe
|
256) pal=(17 19 21 27 33 39 45 39 33 27 21 19) ;; # deep breathe: dark navy to bright blue
|
||||||
16) pal=(44 104 44 104) ;; # blue / bright blue
|
16) pal=(44 104 44 104) ;; # blue / bright blue
|
||||||
*) pal=("|" "/" "-" "\\") ;; # last-resort spinner
|
*) pal=("|" "/" "-" "\\") ;; # last-resort spinner
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user