Window list should now work for sway.
This commit is contained in:
parent
5851aec8b3
commit
61cdfffc0d
@ -13,4 +13,11 @@ id="$(yad --title "I38" --list --separator "" --column "id" --column "Select Win
|
||||
if [[ -z "${id}" ]]; then
|
||||
exit 0
|
||||
fi
|
||||
path="$(readlink -f $0)"
|
||||
path="${path%/*/*}"
|
||||
path="${path##*/}"
|
||||
if [[ "$path" == "i3" ]]; then
|
||||
i3-msg \[id="${id}"\] focus
|
||||
else
|
||||
swaymsg \[id="${id}"\] focus
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user