mirror of
https://github.com/reisub0/sway-alttab
synced 2025-01-31 11:31:36 +01:00
Simple Alt-Tab daemon for SwayWM/i3. Switches back to previous focused window on Alt-Tab or SIGUSR1
1c6839e354
Fixed not closing when losing connection to sway Thanks to @kepet19 for the fix! |
||
---|---|---|
.github/workflows | ||
src | ||
.gitignore | ||
Cargo.toml | ||
LICENSE | ||
README.md |
sway-alttab
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.
Installation
From Binaries
Binary releases (for Linux x86_64) can be found at the Releases page.
From AUR
If you're using Arch Linux, you can install the sway-alttab-bin
package.
yay -S --aur sway-alttab-bin
From Crates.io
cargo install sway-alttab
From Source
git clone https://github.com/reisub0/sway-alttab
cargo install --path sway-alttab
License
sway-alttab is licensed under the MIT License.