mirror of
https://github.com/reisub0/sway-alttab
synced 2025-04-20 08:18:01 +02:00
38 lines
1.3 KiB
Markdown
38 lines
1.3 KiB
Markdown
# sway-alttab
|
|
|
|
[](https://crates.io/crates/sway-alttab) [](https://crates.io/crates/sway-alttab) [](https://github.com/reisub0/sway-alttab/actions?query=workflow%3Abuild) [](https://www.rust-lang.org/)
|
|
|
|
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](https://github.com/reisub0/sway-alttab/releases/latest) page.
|
|
|
|
### From AUR
|
|
|
|
If you're using Arch Linux, you can install the `sway-alttab-bin` package.
|
|
```bash
|
|
yay -S --aur sway-alttab-bin
|
|
```
|
|
|
|
### From Crates.io
|
|
|
|
```bash
|
|
cargo install sway-alttab
|
|
```
|
|
|
|
### From Source
|
|
|
|
```bash
|
|
git clone https://github.com/reisub0/sway-alttab
|
|
cargo install --path sway-alttab
|
|
```
|
|
|
|
## License
|
|
|
|
sway-alttab is licensed under the [MIT License](https://choosealicense.com/licenses/mit/).
|