internal: use panelwindow

Using WlrLayershell broke for newer versions of qs
This commit is contained in:
2 * r + 2 * t 2025-06-04 19:16:17 +10:00
parent 49ce8f68a6
commit 434e31d830
3 changed files with 7 additions and 6 deletions

View file

@ -12,8 +12,8 @@ Variants {
screen: modelData screen: modelData
name: "background" name: "background"
exclusionMode: ExclusionMode.Ignore WlrLayershell.exclusionMode: ExclusionMode.Ignore
layer: WlrLayer.Background WlrLayershell.layer: WlrLayer.Background
color: "black" color: "black"
anchors.top: true anchors.top: true

View file

@ -25,8 +25,8 @@ Variants {
screen: scope.modelData screen: scope.modelData
name: "drawers" name: "drawers"
exclusionMode: ExclusionMode.Ignore WlrLayershell.exclusionMode: ExclusionMode.Ignore
keyboardFocus: visibilities.launcher || visibilities.session ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None WlrLayershell.keyboardFocus: visibilities.launcher || visibilities.session ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None
mask: Region { mask: Region {
x: BorderConfig.thickness x: BorderConfig.thickness

View file

@ -1,10 +1,11 @@
import "root:/utils" import "root:/utils"
import "root:/config" import "root:/config"
import Quickshell
import Quickshell.Wayland import Quickshell.Wayland
WlrLayershell { PanelWindow {
required property string name required property string name
namespace: `caelestia-${name}` WlrLayershell.namespace: `caelestia-${name}`
color: "transparent" color: "transparent"
} }