Skip to content

Instantly share code, notes, and snippets.

@sodapanda
Created June 18, 2018 12:00
Show Gist options
  • Select an option

  • Save sodapanda/1e98a106b43c49533eddc49a80e46d9f to your computer and use it in GitHub Desktop.

Select an option

Save sodapanda/1e98a106b43c49533eddc49a80e46d9f to your computer and use it in GitHub Desktop.
hs.application.enableSpotlightForNameSearches(true)
hs.window.animationDuration = 0
hs.window.setShadows(false)
hs.hotkey.bind({"shift","alt"},"R",function()
hs.reload()
end)
hs.alert.show("Config loaded")
print("it's good!")
hs.hotkey.bind({"shift","alt"},"z",function()
hs.grid.show()
end)
hs.hotkey.bind({"shift","alt"},"x",function()
hs.window.focusedWindow():maximize(0)
end)
current_space_switcher = hs.window.switcher.new(
hs.window.filter.new():setCurrentSpace(true):setDefaultFilter{}
)
hs.hotkey.bind("alt","tab",function()
current_space_switcher:next()
end)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment