blob: f241dd3eca01940f26856fa4df85e7fe9059a5e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/usr/bin/env bash
cat /dev/null | rofi -dmenu &
RPID=$!
sleep 4
xdotool key Return
# Get result, kill xvfb
wait ${RPID}
RETV=$?
if [ ${RETV} -eq 1 ]
then
exit 0
else
exit 1
fi
|