From e8a5219ee12ddf6d25d19d16337866f1aedb8fa2 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Fri, 17 May 2024 23:54:52 -0400 Subject: [PATCH] sway: tablet mode defaults to sway instead of swayfx --- homeManagerModules/desktop/sway/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/homeManagerModules/desktop/sway/default.nix b/homeManagerModules/desktop/sway/default.nix index e93dd73b..9487be96 100644 --- a/homeManagerModules/desktop/sway/default.nix +++ b/homeManagerModules/desktop/sway/default.nix @@ -71,7 +71,10 @@ }; wayland.windowManager.sway.enable = true; - wayland.windowManager.sway.package = lib.mkDefault pkgs.swayfx; + wayland.windowManager.sway.package = + if config.alyraffauf.desktop.sway.tabletMode.enable + then pkgs.sway + else pkgs.swayfx; wayland.windowManager.sway.wrapperFeatures.gtk = true; wayland.windowManager.sway.checkConfig = false;