mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-04 19:26:19 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user