Even smoother

This commit is contained in:
David Heinemeier Hansson
2026-05-17 17:52:00 +02:00
parent c24b9b0e31
commit 2c265f361c
2 changed files with 5 additions and 2 deletions
+5
View File
@@ -164,6 +164,11 @@ else
set_theme_background
fi
# The shared staging/current symlinks are updated and the shell has accepted
# the transition. Let another theme selection queue only behind that critical
# section, not behind slower app-retint hooks and selector cache warmups.
flock -u 9
post_theme_commands=(
omarchy-restart-terminal
omarchy-restart-hyprctl
@@ -195,11 +195,9 @@ Item {
function maybeStartReveal() {
if (!root.incomingBackground || root.revealProgress !== 0 || maskReady) return
if (incomingFrame.status !== Image.Ready) return
if (root.oldBackground && oldFrame.status !== Image.Ready) return
Qt.callLater(function() {
if (!root.incomingBackground || root.revealProgress !== 0 || maskReady) return
if (incomingFrame.status !== Image.Ready) return
if (root.oldBackground && oldFrame.status !== Image.Ready) return
root.startReveal(panel)
})
}