Back to origin.

This commit is contained in:
#root_informatica 2023-09-07 00:52:48 -03:00
parent f4694a7ad2
commit 00c4b66b77

View file

@ -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