https://github.com/autolyticus/sway-alttab
Simple Alt-Tab daemon for SwayWM/i3. Switches back to previous focused window on Alt-Tab or SIGUSR1
https://github.com/autolyticus/sway-alttab
crates daemon i3 i3wm rust sway swaywm window-manager
Last synced: 11 months ago
JSON representation
Simple Alt-Tab daemon for SwayWM/i3. Switches back to previous focused window on Alt-Tab or SIGUSR1
- Host: GitHub
- URL: https://github.com/autolyticus/sway-alttab
- Owner: autolyticus
- License: mit
- Created: 2019-12-08T13:19:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-09T17:10:41.000Z (over 5 years ago)
- Last Synced: 2025-07-06T17:17:47.532Z (12 months ago)
- Topics: crates, daemon, i3, i3wm, rust, sway, swaywm, window-manager
- Language: Rust
- Homepage:
- Size: 58.6 KB
- Stars: 52
- Watchers: 2
- Forks: 9
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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/).