set wayland as default platform

This commit is contained in:
2026-06-02 19:02:05 +02:00
parent dfb16cce4e
commit c62e8f10ea

View File

@@ -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} "$@"
'';
};