2021-12-25 21:53:01 +01:00
|
|
|
### Set wayland specific environment variables
|
|
|
|
|
|
|
|
# Set compositor
|
|
|
|
XDG_CURRENT_DESKTOP=sway
|
|
|
|
|
|
|
|
# Set wayland backend for GUI libraries
|
2022-01-02 21:16:41 +01:00
|
|
|
QT_QPA_PLATFORM=wayland
|
2021-12-25 21:53:01 +01:00
|
|
|
GDK_BACKEND=wayland
|
|
|
|
CLUTTER_BACKEND=wayland
|
|
|
|
SDL_VIDEODRIVER=wayland
|
|
|
|
|
|
|
|
# Restore functionality for QT features by setting the theme to 'qt5ct'
|
|
|
|
QT_QPA_PLATFORMTHEME=qt5ct
|
|
|
|
|
|
|
|
# Enable wayland for firefox and thunderbird
|
|
|
|
MOZ_ENABLE_WAYLAND=1
|