1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-11 13:50:48 -05:00
rofi/test/run_combi_test.sh

23 lines
291 B
Bash
Raw Normal View History

2015-12-31 17:27:06 -05:00
#!/usr/bin/env bash
rofi -show combi -modi combi -combi-modi run,drun &
RPID=$!
# send enter.
sleep 5
xdotool key 't'
2015-12-31 17:27:06 -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:27:06 -05:00
RETV=$?
exit "${RETV}"