diff options
author | Simon Rettberg | 2020-08-11 11:14:05 +0200 |
---|---|---|
committer | Simon Rettberg | 2020-08-11 11:14:05 +0200 |
commit | 7aa0e4040e73449cdf713e198477e62746c18f78 (patch) | |
tree | 6cebc6141644b5faf78664f27ee6378f17383ed6 /core/modules/kiosk-chromium/data/opt | |
parent | [kiosk-chromium] Decode Bookmark name too (diff) | |
download | mltk-7aa0e4040e73449cdf713e198477e62746c18f78.tar.gz mltk-7aa0e4040e73449cdf713e198477e62746c18f78.tar.xz mltk-7aa0e4040e73449cdf713e198477e62746c18f78.zip |
[kiosk-chromium] Throttle auto-reloading
Diffstat (limited to 'core/modules/kiosk-chromium/data/opt')
-rw-r--r-- | core/modules/kiosk-chromium/data/opt/openslx/scripts/kiosk-launch.d/00-chromium | 1 |
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 ))" |