rofi/test/run_issue_275.sh
2015-11-20 11:19:36 +01:00

22 lines
278 B
Bash
Executable file

#!/usr/bin/env bash
echo -e "aap\nnoot\nmies" | rofi -dmenu &
RPID=$!
# send enter.
sleep 5;
xdotool key 't'
sleep 0.4
xdotool key 'r'
sleep 0.4
xdotool key 'u'
sleep 0.4
xdotool key 'e'
sleep 0.4
xdotool key End
# Get result, kill xvfb
wait ${RPID}
RETV=$?
exit ${RETV}