wallpaper suport and polishing

This commit is contained in:
lucy 2026-03-09 19:32:44 +01:00
parent 79795005ae
commit 5ba9bafac3
4 changed files with 31 additions and 0 deletions

View File

@ -9,6 +9,7 @@ Variants {
delegate: PanelWindow {
id: root
required property ShellScreen modelData
aboveWindows: true
margins {
top: Settings.config.floating ? Settings.config.margins : 0
left: Settings.config.floating ? Settings.config.margins : 0

View File

@ -0,0 +1,27 @@
import Quickshell
import QtQuick
import qs
import qs.settings
import Quickshell.Wayland
Variants {
model: Quickshell.screens
delegate: WlrLayershell {
exclusionMode: ExclusionMode.Ignore
aboveWindows: false
id: wallpaperShell
required property ShellScreen modelData
layer: WlrLayer.Background
anchors {
top: true
bottom: true
left: true
right: true
}
Image {
id: wallpaper
source: Settings.config.currentWall ? Settings.config.currentWall : ""
anchors.fill: parent
}
}
}

View File

@ -18,6 +18,7 @@ Singleton {
property string font
property int fontSize
property int margins
property var currentWall
}
}
}

View File

@ -3,9 +3,11 @@ import Quickshell
import QtQuick
import qs.modules.Bar
import qs.modules.ipc
import qs.modules.wallpaper
ShellRoot {
id: root
Bar {}
Ipc {}
Wallpaper {}
}