Update 2024-02-14 07:51 OpenBSD/amd64-x13
This commit is contained in:
10
.bin/OLD/dexec_findwin
Executable file
10
.bin/OLD/dexec_findwin
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
. $HOME/.bin/_config
|
||||
|
||||
WID=$(wmctrl -l | col -b \
|
||||
| grep -v "^$" \
|
||||
| awk '{printf("%s",$1);$1="";$2="";$3=""; print $0}' \
|
||||
| $DMENU_CMD -p "Windows" \
|
||||
| awk '{ print $1 }' \
|
||||
)
|
||||
[ -z "$WID" ] || wmctrl -i -a $WID
|
||||
Reference in New Issue
Block a user