fix(quickshell): detect wayland display sessions

This commit is contained in:
2026-09-27 13:33:22 -04:00
parent 5c13c8c3e7
commit cbbcf06c30
+1
View File
@@ -11,6 +11,7 @@ PanelWindow {
property var battery: UPower.displayDevice property var battery: UPower.displayDevice
property var hardware property var hardware
property bool isWayland: Quickshell.env("XDG_SESSION_TYPE") === "wayland" property bool isWayland: Quickshell.env("XDG_SESSION_TYPE") === "wayland"
|| Quickshell.env("WAYLAND_DISPLAY") !== ""
anchors { anchors {
top: true top: true