Skip to content

Commit

Permalink
feat(darwin): hyper-; reloads config
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Jul 1, 2023
1 parent a2c1ab0 commit 3fd4793
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/hammerspoon/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ local hyper = { "alt", "ctrl", "cmd", "shift" }
-- disable anymations
hs.window.animationDuration = 0

hotkey.bind(hyper, ";", function()
hs.reload()
end)
hs.alert.show("Config loaded")

-- middle left
hotkey.bind(hyper, "H", function()
local win = hs.window.focusedWindow()
Expand Down

0 comments on commit 3fd4793

Please sign in to comment.