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.
||2 years ago|
|src||2 years ago|
|.gitignore||3 years ago|
|LICENSE||3 years ago|
|Makefile||3 years ago|
|README.md||3 years ago|
SWAYFOCUS - Window Switching Tool For Sway
A tool to focus a specific window in sway, useful for run or raise scripts that would have used xdotool or wmctrl under Xorg. Uses swaymsg to communicate. Windows hidden to the system tray don't show up in the get_tree command, so they can't be raised with this.
Usage: swayfocus [OPTIONS] -v, --version Show Version -h, --help Show Help -p, --print Print window names and exit -c, --cycle Cycle through all matching windows in order, instead of selecting the first in the list -n WNAME, --name=WNAME Match against window name -m WMARK, --mark=WMARK Match against window mark -t WTYPE, --type=WTYPE Match against window type (app_id for wayland, class for xwayland)
Select at least one matching option.
swayfocus -p | sort -u | bemenu | xargs swayfocus -c --name= # simple window switcher
make && sudo make install