fix(quickshell): detect wayland when session type is unset

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