Also install hammerspoon spoons

This commit is contained in:
Kenneth Benzie 2025-11-11 23:00:33 +00:00
parent e633da1e7c
commit fe220c231a
2 changed files with 16 additions and 0 deletions

View File

@ -16,3 +16,14 @@
homebrew:
state: latest
name: hammerspoon
- name: create spoons directory
file:
state: directory
path: '{{config_dir}}/Spoons'
- name: install SpoonInstall Spoon
unarchive:
src: https://github.com/Hammerspoon/Spoons/raw/master/Spoons/SpoonInstall.spoon.zip
dest: '{{config_dir}}/Spoons'
remote_src: yes

View File

@ -1,3 +1,8 @@
require('hs.ipc')
hs.loadSpoon("SpoonInstall")
spoon.SpoonInstall:andUse("EmmyLua")
hs.hotkey.bind({'alt', 'cmd'}, 'B', function()
hs.application.launchOrFocus('Firefox')
end)