From 00c9e87edddd2abdbc9ba80cc915cac93b25dca1 Mon Sep 17 00:00:00 2001 From: winston Date: Sun, 12 Mar 2023 21:46:45 +0100 Subject: [PATCH] feat(i3): warp mouse on sway --- home/apps/i3.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/apps/i3.nix b/home/apps/i3.nix index a1b9697..854666b 100644 --- a/home/apps/i3.nix +++ b/home/apps/i3.nix @@ -14,6 +14,10 @@ commonConfig = {wayland ? false}: rec { modifier = "Mod4"; focus.wrapping = "no"; + focus.mouseWarping = + if wayland + then "container" + else true; startup = [ { command = "${lib.getExe pkgs.autotiling} -l2";