diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-04 19:16:17 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-04 19:16:17 +1000 |
| commit | 434e31d8304e2b404129f2f7e52a9a5ea5d6f70b (patch) | |
| tree | 9dfdd73db461d9bdb0489ac140ce87eb3fac2d42 | |
| parent | systemusage: fix gpu temp (diff) | |
| download | caelestia-shell-434e31d8304e2b404129f2f7e52a9a5ea5d6f70b.tar.gz caelestia-shell-434e31d8304e2b404129f2f7e52a9a5ea5d6f70b.tar.bz2 caelestia-shell-434e31d8304e2b404129f2f7e52a9a5ea5d6f70b.zip | |
internal: use panelwindow
Using WlrLayershell broke for newer versions of qs
| -rw-r--r-- | modules/background/Background.qml | 4 | ||||
| -rw-r--r-- | modules/drawers/Drawers.qml | 4 | ||||
| -rw-r--r-- | widgets/StyledWindow.qml | 5 |
3 files changed, 7 insertions, 6 deletions
diff --git a/modules/background/Background.qml b/modules/background/Background.qml index ca3aaff..11c9151 100644 --- a/modules/background/Background.qml +++ b/modules/background/Background.qml @@ -12,8 +12,8 @@ Variants { screen: modelData name: "background" - exclusionMode: ExclusionMode.Ignore - layer: WlrLayer.Background + WlrLayershell.exclusionMode: ExclusionMode.Ignore + WlrLayershell.layer: WlrLayer.Background color: "black" anchors.top: true diff --git a/modules/drawers/Drawers.qml b/modules/drawers/Drawers.qml index fab1995..3aabc48 100644 --- a/modules/drawers/Drawers.qml +++ b/modules/drawers/Drawers.qml @@ -25,8 +25,8 @@ Variants { screen: scope.modelData name: "drawers" - exclusionMode: ExclusionMode.Ignore - keyboardFocus: visibilities.launcher || visibilities.session ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None + WlrLayershell.exclusionMode: ExclusionMode.Ignore + WlrLayershell.keyboardFocus: visibilities.launcher || visibilities.session ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None mask: Region { x: BorderConfig.thickness diff --git a/widgets/StyledWindow.qml b/widgets/StyledWindow.qml index d67bcd2..67280b6 100644 --- a/widgets/StyledWindow.qml +++ b/widgets/StyledWindow.qml @@ -1,10 +1,11 @@ import "root:/utils" import "root:/config" +import Quickshell import Quickshell.Wayland -WlrLayershell { +PanelWindow { required property string name - namespace: `caelestia-${name}` + WlrLayershell.namespace: `caelestia-${name}` color: "transparent" } |