Skip to content

fd0/swytch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 mdirkse/i3ipc-go#9 is merged). Additionally, we've added the app_id field used for native Wayland windows.

About

Window selection for Sway with rofi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages