rofi/test/run_errormsg_test.sh

14 lines
233 B
Bash
Raw Normal View History

2014-08-29 13:21:10 +00:00
#!/usr/bin/env bash
# wait till it is up, run rofi with error message
sleep 1 && rofi -e "Printing error message" &
2014-08-29 13:21:10 +00:00
RPID=$!
# send enter.
sleep 5 && xdotool key Return
2014-08-29 13:21:10 +00:00
# Get result, kill xvfb
wait "${RPID}"
2014-08-29 13:21:10 +00:00
RETV=$?
exit "${RETV}"