Skip to content

teaneedz/windowtoggle

Repository files navigation

WindowToggle

Instantly toggle between your two most recently used windows on macOS.

No screen recording permission required. Accessibility only.

Requirements

  • macOS 13 (Ventura) or later
  • Swift Command Line Tools (for building from source only)

Install

Download the DMG from:

https://teaz.me/assets/windowtoggle/WindowToggle-v1.2.dmg

Open the DMG and drag WindowToggle.app to your Applications folder, then launch it.

First launch - macOS security step

Because WindowToggle is free and distributed outside the Mac App Store, macOS will show a security warning on first launch. Open Terminal and run this once:

xattr -dr com.apple.quarantine /Applications/WindowToggle.app

Then launch the app. Grant Accessibility permission when prompted:

System Settings > Privacy & Security > Accessibility > enable WindowToggle

Usage

  • Default shortcut: Ctrl+W
  • Change it anytime: menu bar icon > Preferences
  • Enable launch at login: Preferences > Start at login checkbox
  • Check for updates: menu bar icon > Check for Updates

How it works

Uses the macOS Accessibility API to track the last two focused windows. Press the shortcut to jump back to the previous one instantly. No screen recording. Nothing leaves your machine.

For developers - build from source

git clone https://github.com/teaneedz/windowtoggle.git cd windowtoggle chmod +x build.sh ./build.sh cp -r WindowToggle.app /Applications/ open /Applications/WindowToggle.app

Update (from source)

cd ~/Code/WindowToggle ./update.sh

Uninstall

cd ~/Code/WindowToggle chmod +x uninstall.sh ./uninstall.sh

Then remove from System Settings > Privacy & Security > Accessibility.

License

MIT

About

Instantly toggle between your two most recently used windows on macOS.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors