Update 2024-02-14 07:51 OpenBSD/amd64-x13
This commit is contained in:
4
.bin/OLD/dexec_findwin.old
Executable file
4
.bin/OLD/dexec_findwin.old
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
. $HOME/.bin/_config
|
||||
num=$(wmctrl -l | awk '{$1="";$2="";$3="";gsub(/ /,"_", $0);printf("%d - %s\n",NR,$0)}' | tr -s '_' | $DMENU_CMD -p "Windows" | cut -d"-" -f1)
|
||||
[ -z "$num" ] || wmctrl -l | awk -v n="$num" 'NR==n { print $1 }' | xargs wmctrl -i -a
|
||||
Reference in New Issue
Block a user