summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/shell/quickshell/shell.qml
blob: 1da9457d0d105b3b6c476111682b3de872cdb084 (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
//@ 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 {}
}