aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/executable_wofi-window-switcher2
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