forked from dylan-thinnes/hacklab-status-screen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.xinitrc
26 lines (24 loc) · 847 Bytes
/
.xinitrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Add all scripts to path
PATH="/home/pi/bus-timetables:$PATH"
timetable-server-proxy &
(/home/pi/read-gamepad/a.out | tee /home/pi/read-gamepad-output | prune-erroneous-output 2>/home/pi/hello2 | bash) &
# We are in sh, must use test builtin
if [ -e /home/pi/kiosk-debug ]; then
KIOSK_FLAG=""
else
KIOSK_FLAG="--kiosk"
autoscroll &
xbindkeys
fi
# Start xkcd webserver
(cd /home/pi/bus-timetables/xkcd-status; python3 main.py) &
/usr/bin/chromium-browser $KIOSK_FLAG --disable-web-security --temp-profile \
http://localhost:5000 \
http://localhost:2578/\#light \
http://voron24.hacklab:5000/ \
http://trains.hacklab \
http://localhost:2578/\#dark \
http://carbon.hacklab:8448
# file:///home/pi/bus-timetables/voron-status/index.html \
# file:///home/pi/tab3.html
# file:///home/pi/voron-status/index.html