You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
Micke Nordin 7529e7f00f
Fix packaging scripts
3 years ago
debian Fix packaging scripts 3 years ago
packaging_scripts Fix packaging scripts 3 years ago
rpm Fix packaging scripts 3 years ago
src Fix packaging scripts 3 years ago
LICENSE A simple window switcher for sway. 3 years ago
README.md Better keybinding functionality 3 years ago
VERSION Fix packaging scripts 3 years ago

README.md

swayswitch

A simple windowswitcher written in python using wxPython

Dependencies

For Debian/Ubuntu: python3-wxgtk4.0

For Fedora/RHEL: python3-wxpython4

Installation

wget -O ~/.local/bin/swayswitch https://github.com/mickenordin/swayswitch/blob/main/swayswitch
chmod +x ~/.local/bin/swayswitch

Usage

Add sway config to ~/.config/sway/config:

mode "switcher" {                   
    # Remove normal bidnings and set a dummy variable so we do something 
    set $hello "hello"
}

bindsym $mod+Tab exec ~/.local/bin/swayswitch, mode "switcher"

Reload config and open up window switcher with $mod+tab.

Thanks

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