diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-11 20:29:52 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-11 20:29:52 +0100 |
| commit | fea2e9b221a2d18f9c73e5763adf662128cea5ec (patch) | |
| tree | 018ac7111d3dce1e4768c7a702d4394baf5589e1 /config.toml | |
| parent | c6f23856f080feee37c4972fb6689332b9873574 (diff) | |
| download | deck-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 'config.toml')
| -rw-r--r-- | config.toml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config.toml b/config.toml index 5b84411..cbaf6ee 100644 --- a/config.toml +++ b/config.toml @@ -95,6 +95,12 @@ workspaces = [1, 2, 3, 4, 5, 6, 7, 8] # unless touched. 0 turns it off. peek = 8 +[tablet] +# Seconds without a touch before the tablet's backlight goes down to +# dim_brightness (0-255); a touch puts it back. 0 turns dimming off. +dim_after = 120 +dim_brightness = 8 + [icons] # Launcher icons follow the icon theme Keystone sets (gsettings # org.gnome.desktop.interface icon-theme); this is only the fallback. |
