Initial commit: wallaura — KDE wallpaper → keyboard LED sync
Daemon that listens for KDE Plasma wallpaperChanged D-Bus signals, splits the wallpaper into 4 vertical zones, extracts a dominant color per zone via median-cut quantization, and applies the colors to the keyboard's 4 LED zones via legionaura static. Includes software brightness scaling (default 67%), a config file at ~/.config/wallaura/config.json with hot-reload, CLI commands for getting/setting brightness, and a systemd user service for autostart. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
commit
d88a254fbb
3 changed files with 480 additions and 0 deletions
16
wallaura.service
Normal file
16
wallaura.service
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[Unit]
|
||||
Description=wallaura — sync keyboard LED zones with desktop wallpaper
|
||||
Documentation=https://github.com/nivedck/LegionAura
|
||||
After=graphical-session.target
|
||||
PartOf=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=%h/tst/wallaura/wallaura.py
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
# Forward journal logs with a tag
|
||||
SyslogIdentifier=wallaura
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical-session.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue