mirror of
https://github.com/puzzle/lightning-beer-tap.git
synced 2025-12-18 15:44:21 +01:00
16 lines
396 B
Bash
Executable File
16 lines
396 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
DIR="$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
|
|
source $DIR/../configuration.sh
|
|
|
|
# Arguments
|
|
KIOSK_ARGS="--kiosk --disable-translate --incognito --app=${FRONTEND_URL}"
|
|
|
|
# Don't sleep, don't blank, waste energy!
|
|
DISPLAY=:0 xset s off
|
|
DISPLAY=:0 xset s noblank
|
|
DISPLAY=:0 xset -dpms
|
|
|
|
# Start app in kiosk mode
|
|
DISPLAY=:0 nohup chromium-browser $KIOSK_ARGS &> /dev/null &
|