Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- while [[ 1 ]]
- do
- sleep 0.1
- ventana=$(wmctrl -l | grep "Guía fonética asiática" | cut -c1-10)
- valor=${#ventana}
- if [[ "$valor" == 10 ]]
- then
- ~/scripts/furiganea.sh $ventana
- else
- if [[ -f ~/scripts/furiganeando.lck ]]
- then
- haz=$(rm -f ~/scripts/furiganeando.lck)
- echo "borrado"
- fi
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement