From 259244eb81158eb81842beb8bea21aafbbfb0921 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sun, 4 Feb 2024 00:08:19 +0100 Subject: [PATCH] feat(hammerspoon): use Chrome default profile instead of Edge --- hammerspoon/hosts/noct.lua | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/hammerspoon/hosts/noct.lua b/hammerspoon/hosts/noct.lua index 7692509..422818b 100644 --- a/hammerspoon/hosts/noct.lua +++ b/hammerspoon/hosts/noct.lua @@ -16,7 +16,7 @@ local function init_hotkeys() apptoggle:bind({ 'cmd', 'ctrl' }, 'D', { 'Mailplane' }, { 'Mimestream' }) apptoggle:bind({ 'cmd', 'ctrl' }, 'E', { 'Emacs', '/Applications/Emacs.app' }) apptoggle:bind({ 'cmd', 'ctrl' }, 'F', { 'Element' }, { 'Element Nightly' }) - apptoggle:bind({ 'cmd', 'ctrl' }, 'G', { 'Microsoft Edge' }) + apptoggle:bind({ 'cmd', 'ctrl' }, 'G', { 'Google Chrome' }) apptoggle:bind({ 'cmd', 'ctrl' }, 'S', { 'Music' }) apptoggle:bind({ 'cmd', 'ctrl' }, 'T', { 'Discord PTB' }) apptoggle:bind({ 'cmd', 'ctrl' }, 'X', { 'Notion' }, { 'Obsidian' }) @@ -48,11 +48,13 @@ local function init_url_handler() ".-://.-.github.com/krystal/", ".-://.-.gitbase..-.k.io/" }, - uh.browsers.edge, nil, { "Slack", "Code", "Emacs" } + chromeProfiles.default, nil, { "Slack", "Code", "Emacs" } }, { - { "%://meet.google.com/" }, - chromeProfiles.work, nil, { "Slack", "Calendar", "Google Calendar" } + { "%://meet.google.com/" }, chromeProfiles.work, nil, + { + "Slack", "Calendar", "Google Calendar", "Notion Calendar" + } } } -- uh.url_redir_decoders = {