From 73f771728812485edf772e7bdc5833ed56fa2ca7 Mon Sep 17 00:00:00 2001 From: OdiousImp2604 <74424076+OdiousImp2604@users.noreply.github.com> Date: Sun, 28 Mar 2021 14:15:46 +0100 Subject: [PATCH] Delete window.sh --- .config/wofi/window.sh | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 .config/wofi/window.sh diff --git a/.config/wofi/window.sh b/.config/wofi/window.sh deleted file mode 100644 index bb5c8c2..0000000 --- a/.config/wofi/window.sh +++ /dev/null @@ -1,6 +0,0 @@ -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/style.css --show dmenu --lines 4 | { - read -r id name - swaymsg "[con_id=$id]" focused -}