-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathshell.qml
More file actions
48 lines (39 loc) · 1.82 KB
/
Copy pathshell.qml
File metadata and controls
48 lines (39 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import Quickshell
import QtQuick
import "./src/windows"
import "./src/popups"
import "./src/"
ShellRoot {
// Force-instantiate lazy singletons that need startup behavior
property var _keybinds: KeybindService
property var _updater: UpdateService
property var _ipc: IpcManager
Variants {
model: Quickshell.screens
delegate: Component {
Scope {
required property var modelData
// ── Windows ──────────────────────────────────────
TopBar { id: topBar; screen: modelData }
Border { id: leftBorder; screen: modelData; edge: "left" }
Border { id: rightBorder; screen: modelData; edge: "right" }
Border { id: bottomBorder; screen: modelData; edge: "bottom" }
// ── Overlays ─────────────────────────────────────
// Dismisses all popups on click-outside or Escape
PopupDismiss { screen: modelData }
// GPU mode change confirmation modal
ConfirmDialog { screen: modelData }
// Shell update notification
UpdatePopup { screen: modelData }
// ── All popups ───────────────────────────────────
// Add new popups in src/popups/PopupLayer.qml only
PopupLayer {
topBar: topBar
leftBorder: leftBorder
rightBorder: rightBorder
bottomBorder: bottomBorder
}
}
}
}
}