Use quickshell for background
This commit is contained in:
parent
b6bff47ed1
commit
6d493c43b9
10 changed files with 125 additions and 118 deletions
25
modules/user/modules/quickshell/background/shell.qml
Normal file
25
modules/user/modules/quickshell/background/shell.qml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
import Quickshell
|
||||
import Quickshell.Wayland
|
||||
import ".."
|
||||
|
||||
ShellRoot {
|
||||
Variants {
|
||||
variants: Quickshell.screens.map(screen => ({ screen }))
|
||||
PanelWindow {
|
||||
id: window
|
||||
|
||||
WlrLayershell.layer: Layer.Background
|
||||
anchors {
|
||||
top: true
|
||||
bottom: true
|
||||
left: true
|
||||
right: true
|
||||
}
|
||||
|
||||
BackgroundImage {
|
||||
anchors.fill: parent
|
||||
screen: window.screen
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue