Add power settings for the lighting, bump to 1.4.0

New Power page:
- toggle for the firmware's 30 s keyboard backlight timeout
- idle timeout for keyboard and lightbar, separately for AC and battery;
  predatord watches all input devices and restores the lighting on the
  next input
- battery rules: dimmed keyboard brightness, keyboard off, lightbar off

The rules only change what is sent to the hardware; the saved lighting
settings stay untouched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-07 17:59:42 +02:00
co-authored by Claude Opus 5.5
parent 5b7534560f
commit 571cfcca2a
10 changed files with 232 additions and 10 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
import os
__version__ = "1.3.0"
__version__ = "1.4.0"
APP_NAME = "Predator Control"
RUN_DIR = os.environ.get("PREDATOR_CONTROL_RUN_DIR", "/run/predator-control")