update PaperWM.spoon and reenable focus spoon

This commit is contained in:
Tyler Mayoff 2025-11-05 10:31:48 -05:00 committed by Tyle Mayoff
parent 97b12386c5
commit 3c172ef9fc
No known key found for this signature in database

View file

@ -4,8 +4,8 @@
source = pkgs.fetchFromGitHub { source = pkgs.fetchFromGitHub {
owner = "selimacerbas"; owner = "selimacerbas";
repo = "FocusMode.spoon"; repo = "FocusMode.spoon";
rev = "f1f9514692ae008177c9ac128df4f4d447e4aa99"; rev = "ec2f87c1ade89ecab38dfc790c9d388d065a6ece";
hash = "sha256-03mqct8KyNPzJeN8AkqqGfKhu67jOIWlA8nCSJ239E4="; hash = "sha256-1TC804BIwJFG7loAU7InZ6PjSUGfO5gZaC27cMZQf54=";
}; };
}; };
@ -13,8 +13,8 @@
source = pkgs.fetchFromGitHub { source = pkgs.fetchFromGitHub {
owner = "mogenson"; owner = "mogenson";
repo = "PaperWM.spoon"; repo = "PaperWM.spoon";
rev = "scroll-glitching"; rev = "511b94fd492a2ea1ae2907864b88c2dbc85608d1";
hash = "sha256-ONUO2jJe32I+0DjSo9gtYBHio5xkW9lyx5tvdziNwM8="; 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.margin = 8 -- optionally set how far past a screen edge the mouse should warp, default is 2 pixels
WarpMouse:start() WarpMouse:start()
-- hs.loadSpoon("FocusMode") hs.loadSpoon("FocusMode")
-- spoon.FocusMode:start() spoon.FocusMode:start()
spoon.FocusMode.eventSettleDelay = 0.03
PaperWM = hs.loadSpoon("PaperWM") PaperWM = hs.loadSpoon("PaperWM")
PaperWM.drag_window = { "alt", "cmd" } PaperWM.drag_window = { "alt", "cmd" }