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

25 lines
334 B
Bash
Raw Normal View History

2015-12-31 16:20:43 -05:00
#!/usr/bin/env bash
export ROFI_PNG_OUTPUT=out.png
rofi -modi run -key-run Alt+F2 &
RPID=$!
# send enter.
sleep 3;
xdotool key Alt+F2
sleep 3;
xdotool key 't'
sleep 0.4
xdotool key 'r'
sleep 0.4
xdotool key 'u'
sleep 0.4
xdotool key Return
sleep 1;
2016-01-03 15:47:40 -05:00
kill -s INT ${RPID}
2015-12-31 16:20:43 -05:00
# Get result, kill xvfb
wait ${RPID}
RETV=$?
exit ${RETV}