Repository navigation
[ryoku] hyprland: add wallpaper theme sync for keyboard RGB - #226
Closed
Shreyas-cpu wants to merge 1 commit into
Closed
Shreyas-cpu wants to merge 1 commit into
Shreyas-cpu wants to merge 1 commit into
Conversation
Add ryoku-cmd-keyboard-rgb to synchronize laptop keyboard backlights (ASUS ROG, TUF, Zephyrus via asusctl / sysfs, and OpenRGB devices) to the active wallpaper Material palette. Triggers on palette changes via matugen's post_hook and at session start via autostart.lua. Note: New: Synchronize laptop keyboard backlight with wallpaper theme palette
Shreyas-cpu
marked this pull request as draft
September 21, 2026 14:41
Shreyas-cpu
marked this pull request as ready for review
September 21, 2026 14:43
Collaborator
|
thanks for putting this together. keyboard-follows-wallpaper already ships end to end: the daemon pushes the accent to keyboard lighting on every palette change and both compositors restore it at login, all gated behind the Lighting opt-in in the Hub. this script would write the keyboard hardware outside that gate and duplicate the same push, so we're going to keep the existing path instead of merging. the feature you're after is already there, just turn Lighting on and adopt the keyboard in the Hub. sorry for the drive-by close, and thanks again. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
wallpaper Material palette.
Details
HSV saturation for vivid, readable keyboard backlighting.
- Hardware Integration:
- Queries
asusctl led-mode -c <hex>(ASUS Aura laptops).- Falls back to direct sysfs control (
/sys/class/leds/asus::kbd_backlight/kbd_rgb_mode).- Broadcasts to
ryoku-hub lighting accent <hex>for peripheral ecosystem sync.- Event Hooks:
- Hooked into
ryoku/shell/matugen/config.toml(post_hook) to instantly transition colors when wallpapers change.- Hooked into
ryoku/hyprland/modules/autostart.luaon compositor startup.