No description
Find a file
2021-01-04 16:32:02 +01:00
debian Bump version 2021-01-04 16:21:06 +01:00
packaging_scripts Add cleanup script 2020-12-27 16:18:07 +01:00
rpm Fix packaging scripts 2020-12-27 14:32:53 +01:00
screenshots Update screenshot 2021-01-04 16:32:02 +01:00
src Use svg icons if available 2021-01-04 16:20:37 +01:00
LICENSE A simple window switcher for sway. 2020-12-24 23:15:08 +01:00
README.md Update README.md 2021-01-04 14:14:35 +01:00
VERSION Bump version 2021-01-04 16:21:06 +01:00

swayswitch

A simple window switcher for Sway wayland compositor written in python using wxPython

Dependencies

For Debian/Ubuntu: python3-wxgtk4.0

For Fedora/RHEL: python3-wxpython4

Installation

Debian

curl https://repo.mic.ke/PUBLIC.KEY | sudo apt-key add -
curl https://repo.mic.ke/debian/debian-micke-unstable.list | sudo tee /etc/apt/sources.list.d/debian-micke-unstable.list
sudo apt update && sudo apt install swayswitch

RPM

wget https://repo.mic.ke/PUBLIC.KEY
sudo rpm --import PUBLIC.KEY
sudo dnf config-manager --add-repo https://repo.mic.ke/rpm/rpm-micke.repo
sudo dnf install swayswitch

Usage

Reload config and open up window switcher with Mod4+tab. Move around the switcher using arrow-keys or Tab. Esc aborts and enter switches window. It is also possible to select window with the mouse. Configuration is installed to /etc/sway/config.d/swayswitch.conf

Two keybindings work by default, Mod4+f to toggle fullscreen mode, that is if you manage to bring up the switcher while in fullscreen mode you can display the switcher window by exiting fullscreen mode. You can also exit switcher mode by pressing Mod4+q, this is usefull if you manage to get another window on to of the switcher window somehow.

Thanks

Thanks to tobiaspc for the startingpoint for this code: https://github.com/tobiaspc/wofi-scripts

Screenshot

Open window switcher