From c62e8f10ea5a056e2616b5aba712776350519efd Mon Sep 17 00:00:00 2001 From: Asmir A Date: Tue, 2 Jun 2026 19:02:05 +0200 Subject: [PATCH] set wayland as default platform --- flake.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flake.nix b/flake.nix index b8163a6..5036c6c 100644 --- a/flake.nix +++ b/flake.nix @@ -49,6 +49,10 @@ inherit runtimeInputs; text = '' export FONTCONFIG_FILE=${fontsConf} + # Force the Wayland QPA plugin: Qt defaults to xcb (X11) on Linux, + # so without this the bar comes up under XWayland. Honour an + # explicit override if the caller already set one. + export QT_QPA_PLATFORM="''${QT_QPA_PLATFORM:-wayland}" exec quickshell --path ${self} "$@" ''; };