From 4f99ba50013556163ea28be69f909fe44d25bd6e Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Fri, 18 Oct 2024 12:18:35 +0100 Subject: [PATCH] chore(hammerspoon/hati): tweak global keybindings --- hammerspoon/hosts/hati.lua | 6 ++++-- hammerspoon/window_management.lua | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/hammerspoon/hosts/hati.lua b/hammerspoon/hosts/hati.lua index e753803..754a44b 100644 --- a/hammerspoon/hosts/hati.lua +++ b/hammerspoon/hosts/hati.lua @@ -10,11 +10,13 @@ local function init_hotkeys() hs.hotkey.bind({ 'cmd', 'alt', 'ctrl' }, 'S', apptoggle.showAppInfo) apptoggle:bind({ 'cmd', 'alt', 'ctrl' }, 'A', { 'Activity Monitor' }) - apptoggle:bind({ 'cmd', 'ctrl' }, '4', { 'HuggingChat' }) + apptoggle:bind({ 'cmd', 'ctrl' }, '2', { 'Open WebUI' }) + apptoggle:bind({ 'cmd', 'ctrl' }, '4', { 'Claude' }) apptoggle:bind({ 'cmd', 'ctrl' }, 'A', { 'ArgoCD' }) apptoggle:bind({ 'cmd', 'ctrl' }, 'B', { 'TablePlus' }, { 'Lens' }) apptoggle:bind({ 'cmd', 'ctrl' }, 'D', { 'Mail' }) apptoggle:bind({ 'cmd', 'ctrl' }, 'E', { 'Emacs', '/Applications/Emacs.app' }) + apptoggle:bind({ 'cmd', 'ctrl' }, 'T', { 'TeamSpeak 3', '/Applications/TeamSpeak 3 Client.app' }) apptoggle:bind({ 'cmd', 'ctrl' }, 'X', { 'Obsidian' }, { 'Notion' }) apptoggle:bind({ 'cmd', 'ctrl' }, 'Z', { 'Slack' }) @@ -27,7 +29,7 @@ local function init_hotkeys() apptoggle:bind({ 'cmd', 'ctrl' }, 'W', { 'Code - Insiders', '/Applications/Visual Studio Code - Insiders.app' } ) - apptoggle:bind({ 'cmd', 'ctrl' }, '2', + apptoggle:bind({ 'cmd', 'ctrl' }, '1', { 'Code', '/Applications/Visual Studio Code.app' } ) end diff --git a/hammerspoon/window_management.lua b/hammerspoon/window_management.lua index 5479a3a..37ddaf3 100644 --- a/hammerspoon/window_management.lua +++ b/hammerspoon/window_management.lua @@ -31,7 +31,7 @@ function wm:init() -- -- show interactive grid menu - bind({ 'cmd', 'ctrl' }, '1', + bind({ 'cmd', 'ctrl' }, 'ยง', function() grid.setGrid(self.gridSizes.interactive) grid.show(