summaryrefslogtreecommitdiffstats
path: root/core/modules/kiosk-chromium
diff options
context:
space:
mode:
authorSimon Rettberg2021-10-11 17:19:27 +0200
committerSimon Rettberg2021-10-11 17:19:27 +0200
commit576e83fb73612572194eca6b0e7a184c3a3e2636 (patch)
tree9278196a2f1fb7bc4874608ac71390a927c61935 /core/modules/kiosk-chromium
parent[run-virt/dhcpc-busybox] Restart nat1 dhcpd if network config changes (diff)
downloadmltk-576e83fb73612572194eca6b0e7a184c3a3e2636.tar.gz
mltk-576e83fb73612572194eca6b0e7a184c3a3e2636.tar.xz
mltk-576e83fb73612572194eca6b0e7a184c3a3e2636.zip
[kiosk-chromium] Don't immediately reload after init step
Fix rapid reloads because idle-daemon doesn't immediately update idle time information.
Diffstat (limited to 'core/modules/kiosk-chromium')
-rw-r--r--core/modules/kiosk-chromium/data/opt/openslx/scripts/kiosk-launch.d/00-chromium2
1 files changed, 1 insertions, 1 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 32eb7eb4..3ff0d636 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
@@ -110,7 +110,7 @@ if [ -n "$SLX_BROWSER_RELOAD_SECS" ] && [ "$SLX_BROWSER_RELOAD_SECS" -gt 0 ]; th
else
xdotool windowactivate "$wid"
xdotool key Alt+Home
- sleep 3
+ sleep "$SLX_BROWSER_RELOAD_SECS"
activity=init
continue
fi