mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2026-09-29 20:04:21 +00:00
fix(quickshell): detect wayland when session type is unset
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user