diff --git a/dot_config/flake/modules/darwin/PaperWM.spoon/default.nix b/dot_config/flake/modules/darwin/PaperWM.spoon/default.nix index 2c65471..75accfe 100644 --- a/dot_config/flake/modules/darwin/PaperWM.spoon/default.nix +++ b/dot_config/flake/modules/darwin/PaperWM.spoon/default.nix @@ -4,8 +4,8 @@ source = pkgs.fetchFromGitHub { owner = "selimacerbas"; repo = "FocusMode.spoon"; - rev = "f1f9514692ae008177c9ac128df4f4d447e4aa99"; - hash = "sha256-03mqct8KyNPzJeN8AkqqGfKhu67jOIWlA8nCSJ239E4="; + rev = "ec2f87c1ade89ecab38dfc790c9d388d065a6ece"; + hash = "sha256-1TC804BIwJFG7loAU7InZ6PjSUGfO5gZaC27cMZQf54="; }; }; @@ -13,8 +13,8 @@ source = pkgs.fetchFromGitHub { owner = "mogenson"; repo = "PaperWM.spoon"; - rev = "scroll-glitching"; - hash = "sha256-ONUO2jJe32I+0DjSo9gtYBHio5xkW9lyx5tvdziNwM8="; + rev = "511b94fd492a2ea1ae2907864b88c2dbc85608d1"; + hash = "sha256-s2IwtYkcf+rPfEA6XhyohsRZQNW8OYl4m9tlBuepvpI="; }; }; @@ -47,8 +47,9 @@ -- WarpMouse.margin = 8 -- optionally set how far past a screen edge the mouse should warp, default is 2 pixels WarpMouse:start() - -- hs.loadSpoon("FocusMode") - -- spoon.FocusMode:start() + hs.loadSpoon("FocusMode") + spoon.FocusMode:start() + spoon.FocusMode.eventSettleDelay = 0.03 PaperWM = hs.loadSpoon("PaperWM") PaperWM.drag_window = { "alt", "cmd" }