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

https://github.com/macedigital/sway-previous-focus

Quick navigation to previously focused windows via hotkeys in Sway window manager
https://github.com/macedigital/sway-previous-focus

golang sway swaywm

Last synced: 3 months ago
JSON representation

Quick navigation to previously focused windows via hotkeys in Sway window manager

Awesome Lists containing this project

README

        

# sway-previous-focus

Static binary that marks previous window to quickly toggle between last recently used ones.

This project uses Sway IPC via [go-sway][1] library.

## Getting started

1. Compile source or put release binary into a folder in `$PATH` (e.g. `~/.local/bin`).
2. Start script while running in a Sway session (or enable systemd unit for auto re-starts).
3. Bind key in Sway configuration to jump to window marked with `_prev`.

## Credits

Inspired by and
discussion at .

[1]: https://github.com/joshuarubin/go-sway