A simple daemon that keeps track of your last focused window and switches to it on receiving a SIGUSR1. Automatically binds Alt-Tab to the same action.
To change the key combo from "Mod1+Tab", use the -c
flag and set your preferred mapping.
Binary releases (for Linux x86_64) can be found at the Releases page.
If you're using Arch Linux, you can install the sway-alttab-bin
package.
yay -S --aur sway-alttab-bin
cargo install sway-alttab
git clone https://github.com/reisub0/sway-alttab
cargo install --path sway-alttab
sway-alttab is licensed under the MIT License.