commit 6827013c01af26221bed965acba8aefb8c38da2b
parent 1e80d147a61cecbd0216db18216502a1152dd03b
Author: Naveen Narayanan <zerous@nocebo.space>
Date: Sun, 14 Jul 2024 00:51:45 +0200
Cleanup the displayed window list
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/ra b/ra
@@ -1,5 +1,7 @@
#!/bin/sh
+# raise window
-id=`wmctrl -l | dmenu -i -l 10 -nb "#222222" \
+id=`wmctrl -l | awk '{$2=""; $3=""}1' | \
+ dmenu -i -l 10 -nb "#222222" \
-nf "#bbbbbb" -sb "#4d4d4d" -sf "#eeeeee" | cut -f 1 -d ' '`
wmctrl -i -a $id