Apply shell theme if background reveal stalls

This commit is contained in:
David Heinemeier Hansson
2026-06-22 19:52:35 +02:00
parent eb3cb5225c
commit cdd833facb
2 changed files with 16 additions and 0 deletions
+7
View File
@@ -10,4 +10,11 @@ assert(
/theme=\$\(omarchy-theme-switcher\); \[\[ -n \$theme \]\] && omarchy-theme-set \\"\$theme\\" >\/dev\/null 2>&1 &/.test(backgroundQml),
'background theme switcher starts theme application asynchronously after selection'
)
assert(
backgroundQml.includes('pendingThemeFallbackTimer.restart()') &&
backgroundQml.includes('pendingThemeFallbackTimer.stop()') &&
backgroundQml.includes('id: pendingThemeFallbackTimer'),
'background theme transition applies pending colors even if image reveal stalls'
)
JS