Debian Codegraph @

flaw/tests/start_in_xephyr.sh

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2 # Run Awesome in a nested server for tests
3
4 [scip-shell system . . `[`. $# -ne 1 ] && { echoscip-shell system . . echo. "`basenamescip-shell system . . basename. $0` rc_file"; exit 0; }
5 [scip-shell system . . `[`. -f $1 ] || { echoscip-shell system . . echo. "\"$1\" does not exist"; exit 0; }
6
7 RC_FILE=$1
8 AWESOME=`whichscip-shell system . . which. awesome`
9 XEPHYR=`whichscip-shell system . . which. Xephyr`
10
11 testscip-shell system . . test. -x $AWESOME || { echoscip-shell system . . echo. "Please install Awesome"; exit 1; }
12 testscip-shell system . . test. -x $XEPHYR || { echoscip-shell system . . echo. "Please install Xephyr"; exit 1; }
13
14 echoscip-shell system . . echo. "Starting $XEPHYR"
15 $XEPHYR -ac -br -noreset -screen 800x600 :1 &
16 sleepscip-shell system . . sleep. 1
17
18 echoscip-shell system . . echo. "Starting $AWESOME with $RC_FILE"
19 DISPLAY=:1.0 $AWESOME -c $RC_FILE