Add brightness setting

This commit is contained in:
James Babcock committed 2026-07-23 10:48:35 -07:00
1 parent afc05d6a19
commit 7455775390
7 files changed
+116 -3

No files matched your search

+4
View File
@@ -4,6 +4,7 @@ import { shell } from "../shell/shell";
import {
anthropicApiKeySetting,
batteryDisplayModeSetting,
brightnessSetting,
elevenLabsApiKeySetting,
openAiApiKeySetting,
enumSettingMenuItem,
@@ -33,6 +34,9 @@ function settingsSections(): SettingsSection[] {
{
label: "Display",
items: [
// Auto (ambient sensor) or an exact level; pushed to the glasses by
// the dashboard controller when changed and on each connect.
enumSettingMenuItem(brightnessSetting, { style: "submenu" }),
enumSettingMenuItem(screenTimeoutSetting, {
onChange: () => {
shell.noteUserActivity();