From f47e69f438c3beac6ae040bbd6e447648f48f320 Mon Sep 17 00:00:00 2001 From: Christian Colglazier Date: Sun, 27 Sep 2026 16:08:50 -0400 Subject: [PATCH] fix(quickshell): detect wayland when session type is unset --- home/dot_config/quickshell/bar/Bar.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/dot_config/quickshell/bar/Bar.qml b/home/dot_config/quickshell/bar/Bar.qml index 616905b..e6f2e83 100644 --- a/home/dot_config/quickshell/bar/Bar.qml +++ b/home/dot_config/quickshell/bar/Bar.qml @@ -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