diff --git a/home-manager/linux/programs/sway.nix b/home-manager/linux/programs/sway.nix index c5cfe9e..ee4bdeb 100644 --- a/home-manager/linux/programs/sway.nix +++ b/home-manager/linux/programs/sway.nix @@ -68,7 +68,12 @@ in with lib; { recommendedEnvironment = true; systemdIntegration = false; extraConfig = '' + # Set environment variables to force wayland env = XCURSOR_SIZE,24 + env = GDK_BACKEND,"wayland,x11" + env = QT_QPA_PLATFORM,"wayland;xcb" + env = SDL_VIDEODRIVER,wayland + env = CLUTTER_BACKEND,wayland input { kb_layout = us kb_variant =