add zed to darwin launcher

This commit is contained in:
Noah Masur 2025-05-08 16:22:36 -04:00
parent aa6c91b65c
commit 515859d22d
No known key found for this signature in database
2 changed files with 4 additions and 0 deletions

View File

@ -105,6 +105,9 @@ function obj:init()
self.launcher:bind("", "Z", function()
self:switch("zoom.us.app")
end)
self.launcher:bind("shift", "Z", function()
self:switch("@zed@")
end)
end
function obj:switch(app)

View File

@ -26,6 +26,7 @@ in
obsidian = "${pkgs.obsidian}/Applications/Obsidian.app";
slack = "${pkgs.slack}/Applications/Slack.app";
wezterm = "${pkgs.wezterm}/Applications/WezTerm.app";
zed = "${pkgs.zed-editor}/Applications/Zed.app";
};
xdg.configFile."hammerspoon/Spoons/MoveWindow.spoon".source = ./Spoons/MoveWindow.spoon;