summaryrefslogtreecommitdiffstats
path: root/abs/extra/web-on-linhes/web-on-linhes.sh
blob: 48414e96ef087739319b0edb4bc1d62b9e8fa94a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
#Script to facilitate Web On LinHES
#Runs irxevent
irxevent /etc/wol-lircrc &
irxPID=$!
#Stops xscreensaver from running.
stop_xss.sh &
xssPID=$!
#Launches chrome in full screen
(sleep 1; wmctrl -r "Google Chrome" -b add,fullscreen) &
google-chrome --no-first-run --kiosk $@
#Once done, stops irxevent and stop_xss.sh
kill $irxPID
kill $xssPID