parent
f69be11cc6
commit
57b2e76540
|
@ -4,9 +4,7 @@ swaymsg -t get_tree |
|
||||||
jq -r '.nodes[].nodes[] | if .nodes then [recurse(.nodes[])] else [] end + .floating_nodes | .[] | select(.nodes==[]) | if .app_id then ((.app_id | tostring) + " -- " + .name) else .name end' |
|
jq -r '.nodes[].nodes[] | if .nodes then [recurse(.nodes[])] else [] end + .floating_nodes | .[] | select(.nodes==[]) | if .app_id then ((.app_id | tostring) + " -- " + .name) else .name end' |
|
||||||
grep -v '__i3_scratch' |
|
grep -v '__i3_scratch' |
|
||||||
sed -e 's/\([^\-]\)\- *[^\-]*$/\1/' |
|
sed -e 's/\([^\-]\)\- *[^\-]*$/\1/' |
|
||||||
|
|
||||||
sed -e 's/^\([0-9]*\)\t*\(.*\)/\2 \1/' |
|
sed -e 's/^\([0-9]*\)\t*\(.*\)/\2 \1/' |
|
||||||
|
|
||||||
wofi -I --show dmenu | {
|
wofi -I --show dmenu | {
|
||||||
read -r id name
|
read -r id name
|
||||||
swaymsg "[con_id=$id]" focus
|
swaymsg "[con_id=$id]" focus
|
||||||
|
|
Loading…
Reference in New Issue