1
0
mirror of https://github.com/reisub0/sway-alttab synced 2025-04-20 08:18:01 +02:00
sway-alttab/README.md
2020-06-21 04:34:06 +03:00

38 lines
1.3 KiB
Markdown

# sway-alttab
[![crates.io](https://flat.badgen.net/crates/v/sway-alttab)](https://crates.io/crates/sway-alttab) [![crates.io](https://flat.badgen.net/crates/d/sway-alttab)](https://crates.io/crates/sway-alttab) [![Build Status](https://flat.badgen.net/github/checks/reisub0/sway-alttab?label=build)](https://github.com/reisub0/sway-alttab/actions?query=workflow%3Abuild) [![made-with-rust](https://flat.badgen.net/badge/made%20with%20♥/rust/dea584)](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/).