1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-25 13:55:34 -05:00
rofi/test/run_drun_test.sh

23 lines
268 B
Bash
Raw Normal View History

2015-12-31 17:14:38 -05:00
#!/usr/bin/env bash
rofi -show drun -modi drun &
2015-12-31 17:14:38 -05:00
RPID=$!
# send enter.
sleep 5
xdotool key 't'
2015-12-31 17:14:38 -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 Return
# Get result, kill xvfb
wait "${RPID}"
2015-12-31 17:14:38 -05:00
RETV=$?
exit "${RETV}"