2020-12-24 22:31:36 +01:00
|
|
|
# swayswitch
|
|
|
|
A simple windowswitcher written in python using wxPython
|
2020-12-24 23:23:40 +01:00
|
|
|
|
2020-12-24 23:28:00 +01:00
|
|
|
## Dependencies
|
2020-12-24 23:28:48 +01:00
|
|
|
For Debian/Ubuntu: ```python3-wxgtk4.0```
|
|
|
|
|
|
|
|
For Fedora/RHEL: ```python3-wxpython4```
|
2020-12-24 23:28:00 +01:00
|
|
|
|
2020-12-24 23:25:38 +01:00
|
|
|
## Installation
|
2020-12-24 23:23:40 +01:00
|
|
|
```
|
2020-12-24 23:25:38 +01:00
|
|
|
wget -O ~/.local/bin/swayswitch https://github.com/mickenordin/swayswitch/blob/main/swayswitch
|
|
|
|
chmod +x ~/.local/bin/swayswitch
|
2020-12-24 23:23:40 +01:00
|
|
|
```
|
2020-12-24 23:25:38 +01:00
|
|
|
## Usage
|
2020-12-24 23:23:40 +01:00
|
|
|
Add a keybinding to ~/.config/sway/config:
|
|
|
|
|
|
|
|
```
|
|
|
|
bindsym $mod+Tab exec ~/.local/bin/swayswitch
|
|
|
|
```
|
|
|
|
Reload config and open up window switcher with $mod+tab.
|
2020-12-24 23:52:39 +01:00
|
|
|
|
|
|
|
## Thanks
|
|
|
|
Thanks to tobiaspc for the startingpoint for this code: <https://github.com/tobiaspc/wofi-scripts>
|