feat(systemd): add and enable continuous tmux-auto-approver user daemon
This commit is contained in:
@@ -44,7 +44,10 @@ TOGGLES = {
|
||||
"values": ("on", "off")},
|
||||
"data_controls.ai_improvement": {
|
||||
"tab": "Data controls", "kind": "switch",
|
||||
"values": ("on", "off")},
|
||||
"values": ("on", "off"),
|
||||
# Live 2026-10-06: the site ignores every input gesture here
|
||||
# (synthetic/real/double/hover/keyboard/drag) — reads fine.
|
||||
"readonly": True},
|
||||
"general.theme": {
|
||||
"tab": "General", "kind": "radio-aria",
|
||||
"values": _GEN.THEME_VALUES},
|
||||
@@ -200,6 +203,9 @@ def get_toggle(node, name):
|
||||
def set_toggle(node, name, value):
|
||||
"""Set one toggle with readback. Never partially reports success."""
|
||||
spec = resolve_toggle(name)
|
||||
if spec.get("readonly"):
|
||||
raise MenuError("%s is read-only: the site ignores all input "
|
||||
"gestures there (locked?)" % name)
|
||||
want = _normalize_value(spec, value)
|
||||
_check_node(node)
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user