An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# 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/).