litle changes.

This commit is contained in:
#root_informatica 2024-08-25 21:36:20 -03:00
parent e723b9be10
commit f04155dc30
2 changed files with 0 additions and 23 deletions

View file

@ -1,23 +0,0 @@
#!/bin/sh
## switch between windows ##
# wms_jumper.sh by @root_informatica.
. $HOME/.config/wms/wms_var
# all maped widnows.
AMW=$(lsw)
# delay.
DELAY=.2
# if any maped window exist.
if [ -n "$AMW" ]; then
# print id, class and name in xmenu.
TARGET=$(\
for wid in $(lsw); do
printf '%s\n' "$wid | $(atomx WM_CLASS $wid) | $(wname $wid)"
done | cut -c 1-100 | $XMENU | cut -d '|' -f 1)
sleep $DELAY &&
wms_focuser.sh "$TARGET" # focus target
fi

0
opt/wms.sh Normal file → Executable file
View file