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

View file

@ -4,6 +4,7 @@ biome = { command = "biome", args = ["lsp-proxy"] }
fish_lsp = {command = "fish-lsp", args = ["start"]} fish_lsp = {command = "fish-lsp", args = ["start"]}
slangd = {command = "slangd"} slangd = {command = "slangd"}
gpt = {command = "helix-gpt", args = ["--handler", "copilot"]} gpt = {command = "helix-gpt", args = ["--handler", "copilot"]}
lsp_ai = {command = "lsp-ai", args = ["--use-seperate-log-file"]}
[[language]] [[language]]
name = "fish" name = "fish"