some things for other things and new mpv ui

This commit is contained in:
Chris Cochrun 2021-08-25 05:14:15 -05:00
parent 4f4bf30170
commit 485fbf28ba
14 changed files with 2135 additions and 75 deletions

9
scripts/wofi-window Normal file
View file

@ -0,0 +1,9 @@
!#/bin/bash
swaymsg -t get_tree |
jq -r '.nodes[].nodes[] | if .nodes then [recurse(.nodes[])] else []
end + .floating_nodes | .[] | select(.nodes==[]) | ((.id | tostring) +
"" + .name)' |
wofi --show dmenu | {
read -r id name
swaymsg "[con_id=$id]" focus
}