summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/shell/quickshell/shell.qml
blob: 3657f77f36a221719e8930e726b1e9c7040a1fe3 (plain)
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
//@ pragma UseQApplication

import Quickshell
import Quickshell.Wayland

ShellRoot {
  settings.watchFiles: false

  Variants {
    model: Quickshell.screens

    delegate: Scope {
      id: screenScope

      required property var modelData

      PanelWindow {
        id: bgWindow

        screen: screenScope.modelData

	WlrLayershell.layer: WlrLayer.Background
	WlrLayershell.exclusionMode: ExclusionMode.Ignore

	anchors.top: true
	anchors.bottom: true
	anchors.left: true
	anchors.right: true

	color: "black"

	WallpaperBackground {
	  screen: bgWindow.screen.name
	}
      }

      Bar {
        screen: screenScope.modelData
      }
    }
  }

  Lockscreen {}

  VolumeOSD {}
}