From b47baa04739f0e3503c1221bc02338a071d3ee7d Mon Sep 17 00:00:00 2001 From: Tyler Mayoff Date: Thu, 18 Sep 2025 09:25:23 -0400 Subject: [PATCH] tried FocusMode --- .../flake/modules/darwin/PaperWM.spoon/default.nix | 12 ++++++++++++ dot_config/helix/languages.toml | 1 + 2 files changed, 13 insertions(+) diff --git a/dot_config/flake/modules/darwin/PaperWM.spoon/default.nix b/dot_config/flake/modules/darwin/PaperWM.spoon/default.nix index b864331..3a62fa6 100644 --- a/dot_config/flake/modules/darwin/PaperWM.spoon/default.nix +++ b/dot_config/flake/modules/darwin/PaperWM.spoon/default.nix @@ -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 diff --git a/dot_config/helix/languages.toml b/dot_config/helix/languages.toml index 80ecd8d..c825948 100644 --- a/dot_config/helix/languages.toml +++ b/dot_config/helix/languages.toml @@ -4,6 +4,7 @@ biome = { command = "biome", args = ["lsp-proxy"] } fish_lsp = {command = "fish-lsp", args = ["start"]} slangd = {command = "slangd"} gpt = {command = "helix-gpt", args = ["--handler", "copilot"]} +lsp_ai = {command = "lsp-ai", args = ["--use-seperate-log-file"]} [[language]] name = "fish"