updated design

This commit is contained in:
2026-08-11 16:34:09 +02:00
parent 3e02c3f36a
commit 39f925cb58
17 changed files with 859 additions and 19 deletions
+27
View File
@@ -0,0 +1,27 @@
pragma Singleton
import QtQuick
import Quickshell
// One transient surface at a time. Without a shared owner, a quick sweep over
// the bar/rail can leave several independently animated windows mapped on top
// of each other. Every coordinated surface exposes dismiss().
Singleton {
property var active: null
function claim(surface: var) {
if (active && active !== surface)
active.dismiss();
active = surface;
}
function release(surface: var) {
if (active === surface)
active = null;
}
function dismissAll() {
if (active)
active.dismiss();
}
}