Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 33 lines (24 sloc) 472 Bytes
#!/bin/sh
go build
if [ ! $? = 0 ]; then
exit
fi
Xephyr :11.0 -ac -screen 1600x900 \
-br -once -reset -terminate -zap &
xemu=$!
sleep 0.5
export DISPLAY=:11.0
if [ -n "$*" ]; then
./wingo $* &
else
./wingo --log-colors --log-level 3 -p 1 --config-dir config &
fi
wingo=$!
sleep 0.5
xbindkeys -f ~/.xbindkeysrc
xsetroot -solid white
xsetroot -cursor_name left_ptr
xmodmap /home/andrew/.Pmodmap
DISPLAY=:0 xdotool key ctrl+shift
wait $wingo
kill $xemu