swytch

module
v0.0.0-...-ee27f49 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2022 License: BSD-2-Clause

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, 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 (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.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL