summaryrefslogtreecommitdiffstats
path: root/core/modules/kiosk-chromium
diff options
context:
space:
mode:
authorSimon Rettberg2020-08-11 11:14:05 +0200
committerSimon Rettberg2020-08-11 11:14:05 +0200
commit7aa0e4040e73449cdf713e198477e62746c18f78 (patch)
tree6cebc6141644b5faf78664f27ee6378f17383ed6 /core/modules/kiosk-chromium
parent[kiosk-chromium] Decode Bookmark name too (diff)
downloadmltk-7aa0e4040e73449cdf713e198477e62746c18f78.tar.gz
mltk-7aa0e4040e73449cdf713e198477e62746c18f78.tar.xz
mltk-7aa0e4040e73449cdf713e198477e62746c18f78.zip
[kiosk-chromium] Throttle auto-reloading
Diffstat (limited to 'core/modules/kiosk-chromium')
-rw-r--r--core/modules/kiosk-chromium/data/opt/openslx/scripts/kiosk-launch.d/00-chromium1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/modules/kiosk-chromium/data/opt/openslx/scripts/kiosk-launch.d/00-chromium b/core/modules/kiosk-chromium/data/opt/openslx/scripts/kiosk-launch.d/00-chromium
index 488acb8d..ba10aefa 100644
--- a/core/modules/kiosk-chromium/data/opt/openslx/scripts/kiosk-launch.d/00-chromium
+++ b/core/modules/kiosk-chromium/data/opt/openslx/scripts/kiosk-launch.d/00-chromium
@@ -124,6 +124,7 @@ if [ -n "$SLX_BROWSER_RELOAD_SECS" ]; then
if [ "$current_idle " -ge "$SLX_BROWSER_RELOAD_SECS" ]; then
xdotool windowactivate "$wid"
xdotool key Alt+Home
+ sleep 10
continue
fi
sleep "$(( SLX_BROWSER_RELOAD_SECS - current_idle ))"