forked from dylan-thinnes/hacklab-status-screen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.xinitrc
30 lines (27 loc) · 1.02 KB
/
.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
27
28
29
30
# 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) &
(. /home/pi/.bashrc; cd /home/pi/hacklab-timers/hacklab-timers-main; node index.js) &
/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/map \
http://localhost:3456
# file:///home/pi/bus-timetables/voron-status/index.html \
# https://gifdb.com/images/high/subway-surfers-save-me-rzjady2g49ac8200.gif \
# file:///home/pi/tab3.html
# file:///home/pi/voron-status/index.html