inital commit

This commit is contained in:
mmaster 2024-10-11 01:06:16 +02:00
commit 67bfdfd04c

21
fahrplan.sh Normal file
View file

@ -0,0 +1,21 @@
#!/bin/bash
if [ -z $1 ]; then
echo "You can add page number count from zero like"
echo "$0 2"
echo "to the command."
sleep 3
fi
padurl="" # URL to pad like https://pad.foo.bar/p/xxxxx_xxx#
# Network workaround for a terrible Pi 3
#ipaddr="" # Ping destination
#iface="wlan0" # Interface
#if ! ping -q -c1 $ipaddr>/dev/null;
#then
# sudo dhclient $iface
#fi
chromium-browser -kiosk "$padurl/$1" --enable-features=OverlayScrollbar,OverlayScrollbarFlashAfterAnyScrollUpdate,OverlayScrollbarFlashWhenMouseEnter