diff options
author | Ryan Kavanagh <rak@rak.ac> | 2024-12-24 15:22:46 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@rak.ac> | 2024-12-24 15:22:46 -0500 |
commit | cb761a3b3268d2eb394bb7392f571b72c3285dda (patch) | |
tree | bcbd22c53d5bf6704a8a8b2e5eab22e61f9e30f1 /bin | |
parent | resign ssh (diff) |
better wofi-window-switcher
Diffstat (limited to 'bin')
-rw-r--r-- | bin/executable_wofi-window-switcher | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/executable_wofi-window-switcher b/bin/executable_wofi-window-switcher index 6b9e310..2344093 100644 --- a/bin/executable_wofi-window-switcher +++ b/bin/executable_wofi-window-switcher @@ -4,7 +4,7 @@ swaymsg -t get_tree | \ jq -r '.nodes[].nodes[] | if .nodes then [recurse(.nodes[])] else [] end + .floating_nodes | - .[] | select(.nodes==[]) | ((.id | tostring) + " " + .name)' | \ + .[] | select(.nodes==[]) | ((.id | tostring) + " [" + (.app_id // .window_properties.class) + "] " + .name)' | \ grep -v __i3_scratch | wofi -d -i | { read -r id name |