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