Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # audacious ~/Music/berserk/01-forces.mp3 &
- # sleep 20
- # playW=$(xdotool search --sync --onlyvisible --name "Susumu Hirasawa" getwindowname)
- # # echo $playW
- # if echo $playW | grep -q "Susumu Hirasawa" ; then
- # xdotool search --sync --onlyvisible --name "Susumu Hirasawa" windowclose
- alarm-clock-applet &
- sleep 1
- eval $(xdotool getmouselocation --shell)
- mouse_coord_x=$X
- mouse_coord_y=$Y
- eval $(xdotool search --sync --onlyvisible --name "Alarms" getwindowgeometry --shell)
- let X+=339
- let Y+=31
- xdotool mousemove $X $Y click 1
- sleep 0.5
- xdotool key Escape
- xdotool mousemove $mouse_coord_x $mouse_coord_y
- # fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement