Also install hammerspoon spoons
This commit is contained in:
parent
e633da1e7c
commit
fe220c231a
@ -16,3 +16,14 @@
|
|||||||
homebrew:
|
homebrew:
|
||||||
state: latest
|
state: latest
|
||||||
name: hammerspoon
|
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
|
||||||
|
|||||||
@ -1,3 +1,8 @@
|
|||||||
|
require('hs.ipc')
|
||||||
|
|
||||||
|
hs.loadSpoon("SpoonInstall")
|
||||||
|
spoon.SpoonInstall:andUse("EmmyLua")
|
||||||
|
|
||||||
hs.hotkey.bind({'alt', 'cmd'}, 'B', function()
|
hs.hotkey.bind({'alt', 'cmd'}, 'B', function()
|
||||||
hs.application.launchOrFocus('Firefox')
|
hs.application.launchOrFocus('Firefox')
|
||||||
end)
|
end)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user