litle changes.
This commit is contained in:
parent
e723b9be10
commit
f04155dc30
2 changed files with 0 additions and 23 deletions
|
@ -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
0
opt/wms.sh
Normal file → Executable file
Loading…
Reference in a new issue