This commit is contained in:
Lucy Hochkamp 2023-11-08 14:05:09 +01:00
parent 8627a33aa5
commit c47fe97b0f
No known key found for this signature in database
5 changed files with 86 additions and 160 deletions

View file

@ -212,16 +212,16 @@ function showHideBundleId(bundleId)
end
end
hs.loadSpoon("MiroWindowsManager")
hs.window.animationDuration = 0
spoon.MiroWindowsManager:bindHotkeys({
up = {modifiers.window, "up"},
right = {modifiers.window, "right"},
down = {modifiers.window, "down"},
left = {modifiers.window, "left"},
fullscreen = {modifiers.window, "return"},
nextscreen = {modifiers.hyper, "right"}
})
-- hs.loadSpoon("MiroWindowsManager")
-- hs.window.animationDuration = 0
-- spoon.MiroWindowsManager:bindHotkeys({
-- up = {modifiers.window, "up"},
-- right = {modifiers.window, "right"},
-- down = {modifiers.window, "down"},
-- left = {modifiers.window, "left"},
-- fullscreen = {modifiers.window, "return"},
-- nextscreen = {modifiers.hyper, "right"}
-- })
hs.hotkey.bind(modifiers.hyper, hs.keycodes.map.delete, function() hs.caffeinate.lockScreen() end)