From 06fcc705afce3fc616c827350ca91d3567b85872 Mon Sep 17 00:00:00 2001 From: OdiousImp2604 <74424076+OdiousImp2604@users.noreply.github.com> Date: Sat, 13 Feb 2021 16:01:16 +0000 Subject: [PATCH] Update window.sh --- .config/wofi/window.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/wofi/window.sh b/.config/wofi/window.sh index 7062117..f281274 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 | { + wofi -c ~/.config/wofi/menu -s ~/.config/wofi/sway.css --show dmenu --lines 5 | { read -r id name swaymsg "[con_id=$id]" focused }