diff options
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell/shell.qml')
-rw-r--r-- | accounts/gkleen@sif/shell/quickshell/shell.qml | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/shell.qml b/accounts/gkleen@sif/shell/quickshell/shell.qml index 2abd1fef..1da9457d 100644 --- a/accounts/gkleen@sif/shell/quickshell/shell.qml +++ b/accounts/gkleen@sif/shell/quickshell/shell.qml | |||
@@ -1,6 +1,7 @@ | |||
1 | //@ pragma UseQApplication | 1 | //@ pragma UseQApplication |
2 | 2 | ||
3 | import Quickshell | 3 | import Quickshell |
4 | import Quickshell.Wayland | ||
4 | 5 | ||
5 | ShellRoot { | 6 | ShellRoot { |
6 | settings.watchFiles: false | 7 | settings.watchFiles: false |
@@ -8,8 +9,36 @@ ShellRoot { | |||
8 | Variants { | 9 | Variants { |
9 | model: Quickshell.screens | 10 | model: Quickshell.screens |
10 | 11 | ||
11 | delegate: Bar { | 12 | delegate: Scope { |
12 | modelData: item | 13 | id: screenScope |
14 | |||
15 | required property var modelData | ||
16 | |||
17 | PanelWindow { | ||
18 | id: bgWindow | ||
19 | |||
20 | screen: screenScope.modelData | ||
21 | |||
22 | WlrLayershell.layer: WlrLayer.Background | ||
23 | WlrLayershell.exclusionMode: ExclusionMode.Ignore | ||
24 | |||
25 | anchors.top: true | ||
26 | anchors.bottom: true | ||
27 | anchors.left: true | ||
28 | anchors.right: true | ||
29 | |||
30 | color: "black" | ||
31 | |||
32 | WallpaperBackground { | ||
33 | screen: bgWindow.screen.name | ||
34 | } | ||
35 | } | ||
36 | |||
37 | Bar { | ||
38 | screen: screenScope.modelData | ||
39 | } | ||
13 | } | 40 | } |
14 | } | 41 | } |
42 | |||
43 | Lockscreen {} | ||
15 | } | 44 | } |