tried FocusMode

This commit is contained in:
Tyler Mayoff 2025-09-18 09:25:23 -04:00
parent ea7e96a3ef
commit b47baa0473
No known key found for this signature in database
GPG key ID: FAE8714D991290A9
2 changed files with 13 additions and 0 deletions

View file

@ -1,5 +1,14 @@
{pkgs, ...}: {
home = {
file.".hammerspoon/Spoons/FocusMode.spoon" = {
source = pkgs.fetchFromGitHub {
owner = "selimacerbas";
repo = "FocusMode.spoon";
rev = "f1f9514692ae008177c9ac128df4f4d447e4aa99";
hash = "sha256-03mqct8KyNPzJeN8AkqqGfKhu67jOIWlA8nCSJ239E4=";
};
};
file.".hammerspoon/Spoons/PaperWM.spoon" = {
source = pkgs.fetchFromGitHub {
owner = "mogenson";
@ -38,6 +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()
PaperWM = hs.loadSpoon("PaperWM")
PaperWM:bindHotkeys({
-- switch to a new focused window in tiled grid