From 8dd92acdf4a10c9d7ef6044f35e90e4d83eacb50 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Thu, 11 Mar 2021 03:35:59 +0300 Subject: [PATCH] Wayland is ready for desktop --- modules/workspace/sway/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/workspace/sway/default.nix b/modules/workspace/sway/default.nix index a600b8c..e7a8eeb 100755 --- a/modules/workspace/sway/default.nix +++ b/modules/workspace/sway/default.nix @@ -18,12 +18,15 @@ in { programs.sway.wrapperFeatures.gtk = true; - programs.sway.extraPackages = lib.mkForce (with pkgs; [ swayidle xwayland ]); + programs.sway.extraPackages = lib.mkForce (with pkgs; [ swayidle ]); + + programs.xwayland.enable = false; users.users.balsoft.extraGroups = [ "sway" ]; home-manager.users.balsoft.wayland.windowManager.sway = { enable = true; + xwayland = false; config = rec { assigns = { "" = [ @@ -238,6 +241,7 @@ in { mouse_warping container hide_edge_borders --i3 smart exec pkill swaynag + xwayland disable ''; }; }