adding to git.i0t.app
This commit is contained in:
7
deploy/profile-snippet.sh
Normal file
7
deploy/profile-snippet.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
# rtsp-streamer kiosk launcher — appended to the kiosk user's ~/.bash_profile
|
||||
# by deploy/install.sh. Starts sway (and thus the video wall) only on the
|
||||
# physical console tty1, so SSH logins get a normal shell.
|
||||
if [ "$(tty)" = "/dev/tty1" ] && [ -z "$WAYLAND_DISPLAY" ] && [ -z "$SSH_CONNECTION" ]; then
|
||||
export XDG_RUNTIME_DIR="/run/user/$(id -u)"
|
||||
exec sway -c /etc/rtsp-streamer/sway/config
|
||||
fi
|
||||
Reference in New Issue
Block a user