#sway

app sway-alttab

Simple Alt-Tab daemon for SwayWM. Switches back to previous focused window on SIGUSR1

5 stable releases

1.1.2 Dec 11, 2019
1.1.0 Dec 10, 2019
1.0.1 Dec 9, 2019

#71 in #sway

MIT license

8KB
86 lines

sway-alttab

crates.io crates.io Build Status made-with-rust

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://gitlab.com/reisub0/sway-alttab
cargo install --path sway-alttab

License

sway-alttab is licensed under the MIT License.

Dependencies

~2.5–3.5MB
~68K SLoC