sway: tablet mode defaults to sway instead of swayfx

This commit is contained in:
Aly Raffauf 2024-05-17 23:54:52 -04:00
parent 3ec6e7f44a
commit e8a5219ee1

View file

@ -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;