diff options
Diffstat (limited to 'bin/executable_wofi-window-switcher')
-rw-r--r-- | bin/executable_wofi-window-switcher | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/bin/executable_wofi-window-switcher b/bin/executable_wofi-window-switcher deleted file mode 100644 index 2344093..0000000 --- a/bin/executable_wofi-window-switcher +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -# - -swaymsg -t get_tree | \ - jq -r '.nodes[].nodes[] | - if .nodes then [recurse(.nodes[])] else [] end + .floating_nodes | - .[] | select(.nodes==[]) | ((.id | tostring) + " [" + (.app_id // .window_properties.class) + "] " + .name)' | \ - grep -v __i3_scratch | - wofi -d -i | { - read -r id name - swaymsg "[con_id=$id]" focus -} |