1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00
rofi/test/run_issue_275.sh

25 lines
307 B
Bash
Raw Normal View History

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