This allows me to set my background image using Quickshell. No need for swww or any other wallpaper daemon :D
28 lines
517 B
QML
28 lines
517 B
QML
import QtQuick
|
|
import Quickshell
|
|
import Quickshell.Wayland
|
|
|
|
PanelWindow {
|
|
id: root
|
|
|
|
exclusionMode: ExclusionMode.Ignore
|
|
WlrLayershell.layer: WlrLayer.Background
|
|
WlrLayershell.namespace: "shell:background"
|
|
|
|
anchors {
|
|
top: true
|
|
bottom: true
|
|
left: true
|
|
right: true
|
|
}
|
|
|
|
Item {
|
|
id: background
|
|
anchors.fill: parent
|
|
Image {
|
|
id: image
|
|
asynchronous: true
|
|
source: "../../../wholefoods.png"
|
|
}
|
|
}
|
|
}
|