some things for other things and new mpv ui
This commit is contained in:
parent
4f4bf30170
commit
485fbf28ba
14 changed files with 2135 additions and 75 deletions
9
scripts/wofi-window
Normal file
9
scripts/wofi-window
Normal 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue