Back to origin.
This commit is contained in:
parent
f4694a7ad2
commit
00c4b66b77
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
|||
. /tmp/wms_var
|
||||
|
||||
AMW=$(lsw) # all maped windows
|
||||
DELAY=.2
|
||||
|
||||
if [ -n "$AMW" ]; then
|
||||
TARGET=$(\
|
||||
|
@ -12,7 +13,7 @@ if [ -n "$AMW" ]; then
|
|||
printf '%s\n' "$wid | $(atomx WM_CLASS $wid) | $(wname $wid)"
|
||||
done | cut -c 1-100 | $XMENU | cut -d '|' -f 1)
|
||||
|
||||
sleep .1;
|
||||
sleep $DELAY &&
|
||||
wms_mainrole.sh "$TARGET" # focus target
|
||||
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue