ErikReider / ErikReider/SwayFloatingSwitcher

Support non-floating windows

Open
#4 3 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Vala
Stars
19
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Would it be possible to support non-floating windows as well?

Via `swaymsg`:
```sh
# Yeah, I know...
swaymsg -t get_tree | jq -r '.nodes[].nodes[] | {"w": .name} + (if .nodes then [recurse(.nodes[])] else [] end + .floating_nodes | .[] | select(.nodes==[])) | ((.id | tostring) + "\t " + (.w | gsub("^[^:]*:|<[^>]*>"; "") | sub("__i3_scratch"; "[S]")) + "\t " + .name)' | sort -V -k1 -t " " | head -n -1 | wofi --sort-order=alphabetical --width=800 --show dmenu --prompt=">_" | {
read -r id name
swaymsg "[con_id=$id]" focus
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.