Add hammerspoon role
This commit is contained in:
15
roles/hammerspoon/templates/init.lua
Normal file
15
roles/hammerspoon/templates/init.lua
Normal file
@@ -0,0 +1,15 @@
|
||||
hs.hotkey.bind({'alt', 'cmd'}, 'B', function()
|
||||
hs.application.launchOrFocus('Firefox')
|
||||
end)
|
||||
|
||||
hs.hotkey.bind({'alt', 'cmd'}, 'T', function()
|
||||
hs.application.launchOrFocus('kitty')
|
||||
end)
|
||||
|
||||
hs.hotkey.bind({'alt', 'cmd'}, 'F', function()
|
||||
hs.application.launchOrFocus('Ferdium')
|
||||
end)
|
||||
|
||||
pcall(function()
|
||||
require('local')
|
||||
end)
|
||||
Reference in New Issue
Block a user