1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-11 13:50:48 -05:00
rofi/test/run_daemon_test.sh
2015-12-31 22:20:43 +01:00

24 lines
335 B
Bash
Executable file

#!/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;
kill -SIGINT ${RPID}
# Get result, kill xvfb
wait ${RPID}
RETV=$?
exit ${RETV}