Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am tamastimar on github.
  • I am tamastimar (https://keybase.io/tamastimar) on keybase.
  • I have a public key whose fingerprint is D190 3A5C 6C4F 28DF 9ECD CAF6 3757 032D 7A34 3890

To claim this, I am signing this object:

@tamastimar
tamastimar / nextWindow.lua
Last active April 12, 2021 12:51
Hammerspoon (http://hammerspoon.org) script to switch to next window of frontmost app in OS X
-- Window Manipulation
-- Bind alt-Tab to show next window of current application
hs.hotkey.bind({"alt"}, "Tab", function()
local app = hs.application.frontmostApplication()
local windows = app:allWindows()
local nextWin = nil