2014-08-29 11:26:47 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2015-02-15 15:34:13 -05:00
|
|
|
rofi -show run &
|
2014-08-29 11:26:47 -04:00
|
|
|
RPID=$!
|
|
|
|
|
|
|
|
# send enter.
|
|
|
|
sleep 5;
|
2014-08-30 14:45:08 -04:00
|
|
|
xdotool key 't'
|
2014-08-29 11:26:47 -04:00
|
|
|
sleep 0.4
|
2014-08-30 14:45:08 -04:00
|
|
|
xdotool key 'r'
|
2014-08-29 11:26:47 -04:00
|
|
|
sleep 0.4
|
2014-08-30 14:45:08 -04:00
|
|
|
xdotool key 'u'
|
2014-08-29 11:26:47 -04:00
|
|
|
sleep 0.4
|
2014-08-30 14:45:08 -04:00
|
|
|
xdotool key 'e'
|
2014-08-29 11:26:47 -04:00
|
|
|
sleep 0.4
|
2014-08-30 14:45:08 -04:00
|
|
|
xdotool key Return
|
2014-08-29 11:26:47 -04:00
|
|
|
|
|
|
|
# Get result, kill xvfb
|
|
|
|
wait ${RPID}
|
|
|
|
RETV=$?
|
|
|
|
|
|
|
|
exit ${RETV}
|