inital commit
This commit is contained in:
commit
67bfdfd04c
1 changed files with 21 additions and 0 deletions
21
fahrplan.sh
Normal file
21
fahrplan.sh
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue