Wayland Layers: Breaking changes

- renamed some layers from "quickshell-*" to "noctalia-*"
- added screen name to all layers, ex: "noctalia-wallpaper-DP1"
- added a way to disable overview management in the settings, this allow
stationnary wallpaper on niri
This commit is contained in:
ItsLemmy
2025-11-04 20:07:48 -05:00
parent 6a8c6a8914
commit 0e41306f73
15 changed files with 137 additions and 87 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ Variants {
screen: modelData
WlrLayershell.layer: WlrLayer.Background
WlrLayershell.exclusionMode: ExclusionMode.Ignore
WlrLayershell.namespace: "quickshell-wallpaper"
WlrLayershell.namespace: "noctalia-wallpaper-" + (screen?.name || "unknown")
anchors {
bottom: true
+10 -10
View File
@@ -6,21 +6,21 @@ import qs.Commons
import qs.Services
import qs.Widgets
Variants {
model: Quickshell.screens
Loader {
active: CompositorService.isNiri && Settings.data.wallpaper.enabled && Settings.data.wallpaper.overviewEnabled
delegate: Loader {
required property ShellScreen modelData
property string wallpaper: ""
sourceComponent: Variants {
model: Quickshell.screens
active: CompositorService.isNiri && Settings.data.wallpaper.enabled && modelData
sourceComponent: PanelWindow {
delegate: PanelWindow {
id: panelWindow
required property ShellScreen modelData
property string wallpaper: ""
Component.onCompleted: {
if (modelData) {
Logger.d("Overview", "Loading Overview component for Niri on", modelData.name)
Logger.d("Overview", "Loading overview for Niri on", modelData.name)
}
setWallpaperInitial()
}
@@ -50,7 +50,7 @@ Variants {
screen: modelData
WlrLayershell.layer: WlrLayer.Background
WlrLayershell.exclusionMode: ExclusionMode.Ignore
WlrLayershell.namespace: "quickshell-overview"
WlrLayershell.namespace: "noctalia-overview-" + (screen?.name || "unknown")
anchors {
top: true