diff --git a/.config/wofi/window.sh b/.config/wofi/window.sh index f281274..9ccc6e6 100644 --- a/.config/wofi/window.sh +++ b/.config/wofi/window.sh @@ -1,6 +1,6 @@ swaymsg -t get_tree | jq -r '.nodes[].nodes[] | if .nodes then [recurse(.nodes[])] else [] end + .floating_nodes | .[] | select(.nodes==[]) | ((.id | tostring) + "" + .name)' | - wofi -c ~/.config/wofi/menu -s ~/.config/wofi/sway.css --show dmenu --lines 5 | { + wofi -c ~/.config/wofi/menu -s ~/.config/wofi/style.css --show dmenu --lines 5 | { read -r id name swaymsg "[con_id=$id]" focused }