From eb4bb6695880b9ab87e09fc66b06b2d2b32969b1 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Fri, 26 May 2023 20:07:28 -0700 Subject: [PATCH] mu --- .hammerspoon/init.fnl | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/.hammerspoon/init.fnl b/.hammerspoon/init.fnl index 48f5543..64091c2 100644 --- a/.hammerspoon/init.fnl +++ b/.hammerspoon/init.fnl @@ -6,7 +6,8 @@ : execute : fs : hotkey - :loadSpoon load_spoon + : ipc + : loadSpoon : logger : notify : pasteboard @@ -59,7 +60,7 @@ (.. "pbcopy < " file) (.. "rm " file)) (pasteboard.getContents))))) -(hotkey.bind mash :t #(execute :/opt/homebrew/bin/alacritty)) +(hotkey.bind mash :t #(execute "/opt/homebrew/bin/alacritty msg create-window")) (modal-bind mash "," nil [[mash @@ -74,20 +75,9 @@ ;; to find the hostname of the Key Light Air (require :key-light-air) -;;; Quitter - -; (let [{: start} (require :quitter-fnl)] -; (start {:Calendar 30 -; :Discord 300 -; :MailMate 600 -; :Messages 300 -; :Reeder 600 -; :Slack 300 -; :Telegram 300})) - ;;; Spoons -(load_spoon :SpoonInstall) +(loadSpoon :SpoonInstall) (local {:SpoonInstall Install} spoon) (set Install.use_syncinstall true) @@ -116,7 +106,8 @@ ["^https://(.*%.?)squareupmessaging.com/?" browsers.safari] ["^https://(.*%.?)bulletin.com/?" browsers.safari] ["^https://(.*%.?)store.apple.com/?" browsers.safari] - ["^https://(.*%.?)goodluckbread.com/?" browsers.safari]] + ["^https://(.*%.?)goodluckbread.com/?" browsers.safari] + ["^https://community.glowforge.com/?" browsers.arc]] url_redir_decoders [[:sci-hub "^https://doi.org/(.*)" "https://sci-hub.st/%1"]]]