diff --git a/platforms/home-manager/modules/nmasur/presets/programs/ghostty.nix b/platforms/home-manager/modules/nmasur/presets/programs/ghostty.nix index 3812824d..6ae7ef04 100644 --- a/platforms/home-manager/modules/nmasur/presets/programs/ghostty.nix +++ b/platforms/home-manager/modules/nmasur/presets/programs/ghostty.nix @@ -37,8 +37,8 @@ in fullscreen = if pkgs.stdenv.isDarwin then true else false; keybind = [ "super+t=unbind" # Pass super-t to underlying tool (e.g. zellij tabs) - "super+shift+bracket_right=unbind" - "super+shift+bracket_left=unbind" + "super+shift+]=unbind" + "super+shift+[=unbind" "ctrl+tab=unbind" "ctrl+shift+tab=unbind" "ctrl+tab=text:\\x1b[9;5u" diff --git a/platforms/home-manager/modules/nmasur/presets/services/hammerspoon/Spoons/Launcher.spoon/init.lua b/platforms/home-manager/modules/nmasur/presets/services/hammerspoon/Spoons/Launcher.spoon/init.lua index 87d2bad5..730f127f 100644 --- a/platforms/home-manager/modules/nmasur/presets/services/hammerspoon/Spoons/Launcher.spoon/init.lua +++ b/platforms/home-manager/modules/nmasur/presets/services/hammerspoon/Spoons/Launcher.spoon/init.lua @@ -57,7 +57,7 @@ function obj:init() self.launcher:bind("ctrl", "space", function() end) self.launcher:bind("", "return", function() -- self:switch("@wezterm@") - self:switch("/Applications/Ghostty.app") + self:switch("@ghostty@") end) self.launcher:bind("", "C", function() self:switch("Calendar.app") diff --git a/platforms/home-manager/modules/nmasur/presets/services/hammerspoon/default.nix b/platforms/home-manager/modules/nmasur/presets/services/hammerspoon/default.nix index 5b93712c..7e332ad3 100644 --- a/platforms/home-manager/modules/nmasur/presets/services/hammerspoon/default.nix +++ b/platforms/home-manager/modules/nmasur/presets/services/hammerspoon/default.nix @@ -35,6 +35,7 @@ in { discord = "${pkgs.discord}/Applications/Discord.app"; firefox = "${pkgs.firefox-unwrapped}/Applications/Firefox.app"; + ghostty = "${pkgs.ghostty-bin}/Applications/Ghostty.app"; obsidian = "${pkgs.obsidian}/Applications/Obsidian.app"; slack = "${pkgs.slack}/Applications/Slack.app"; wezterm = "${pkgs.wezterm}/Applications/WezTerm.app";