Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fd0/swytch
Window selection for Sway with rofi
https://github.com/fd0/swytch
Last synced: about 1 month ago
JSON representation
Window selection for Sway with rofi
- Host: GitHub
- URL: https://github.com/fd0/swytch
- Owner: fd0
- License: bsd-2-clause
- Created: 2022-07-14T14:47:21.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-07-21T11:59:00.000Z (over 2 years ago)
- Last Synced: 2024-10-14T21:05:30.337Z (3 months ago)
- Language: Go
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Introduction
This program is a replacement for the window selection built into rofi, which
does not work with Sway. It extracts the windows via `swaymsg` instead of
querying the X server.It is inspired by [`swytch.sh`](https://github.com/wilecoyote2015/Swytch),
but implemented in Go instead of Shell for speed.## Building
Install Go, then run `go build`.
## Keybindings
* `Return` switches focus to the window
* `Shift+Return` moves the window to the current workspace
* `Control+C` kill the window# Dependency
It includes a fork of the library `i3ipc-go` from [here](https://github.com/emcconville/i3ipc-go)
(branch `sway_support`) for Sway support (at least until
https://github.com/mdirkse/i3ipc-go/pull/9 is merged). Additionally, we've
added the `app_id` field used for native Wayland windows.