aboutsummaryrefslogtreecommitdiffstats
path: root/static/index.html
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-11 20:29:52 +0100
committerDanilo M. <danix@danix.xyz>2026-11-11 20:29:52 +0100
commitfea2e9b221a2d18f9c73e5763adf662128cea5ec (patch)
tree018ac7111d3dce1e4768c7a702d4394baf5589e1 /static/index.html
parentc6f23856f080feee37c4972fb6689332b9873574 (diff)
downloaddeck-it-fea2e9b221a2d18f9c73e5763adf662128cea5ec.tar.gz
deck-it-fea2e9b221a2d18f9c73e5763adf662128cea5ec.zip
feat(tablet): dim the backlight after an idle timeout
After [tablet] dim_after seconds with no touch the page covers itself and the tablet module's dim action lowers the backlight to dim_brightness over adb, with auto brightness off meanwhile; an LCD's backlight is the drain, so a dark page alone saves little. The touch on the cover only calls undim, which restores both settings, as does the module's stop. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'static/index.html')
-rw-r--r--static/index.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/static/index.html b/static/index.html
index bb27c19..e446940 100644
--- a/static/index.html
+++ b/static/index.html
@@ -39,6 +39,7 @@
<button id="reload" class="reload" aria-label="Reload the dashboard" title="Reload"><i class="nf"></i></button>
</header>
<div id="tab-body"></div>
+<div id="dimmer" hidden></div>
<div id="asleep" hidden>
<div class="asleep-moon nf"></div>
<div class="off-title" id="asleep-title"></div>