dotfiles/.bin/dexec_findwin
2022-12-06 08:01:44 +01:00

11 lines
261 B
Bash
Executable File

#!/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