Conversation
|
Note that this only does keyboard and mice for now. My little laptop does not have RGB fans, but they could definitely be supported in the future with OpenRGB. |
|
Tested on a Logitech G213 (046d:c336, OpenRGB 1.0rc3-3 from The G213 exposes openrgb prints the error but still exits 0, so the
Suggestion: the Happy to re-test a revision against the G213. |
cec9256 to
d469461
Compare
|
Thanks for the detailed report — the Pushed a revision on that basis ( Happy for you to re-test against the branch — and appreciated the pointer to #7977, which confirms Direct is generally the load-bearing mode and not a G213 quirk. |
|
Re-tested against the G213 at d469461. Single-device (G213 only): works. The script issues Two issues in the parse, though — one is a real regression on multi-device systems: 1.
So a G512 + G213 rig gets the bug back depending on enumeration order. Fix: 2. The Reproduction for #1, standalone: Happy to re-test again. |
|
Both confirmed and fixed in
Also fixed while in here: my first revision of the Happy for a second re-test whenever convenient. |
fb5df52 to
e124d37
Compare
|
Re-tested at e124d37 — both fixes confirmed.
One small leftover: Direct-only devices are applied twice. The bare-id line pushes the device into Harmless (idempotent) but it doubles the per-device time on the switch, and a "single apply" assertion for Direct-only devices would currently fail. Splitting the read-loop into three arms fixes it: if [[ -n $mode && $mode != "-" ]]; then
GRADIENT_MODE_FOR_DEVICE[$id]="$mode"
elif [[ $mode == "-" ]]; then
DIRECT_DEVICE[$id]=1 # id already in DEVICE_IDS from the bare line
else
DEVICE_IDS+=("$id")
fiStatic-only and gradient devices are unaffected (verified: one apply each). Otherwise this looks ready from the G213 side — thanks for the fast iterations. |
|
Good catch — fixed exactly as you suggested. The Pushed in Thanks for the fast re-tests on the G213 — let me know if the double-apply is gone on your end. |
|
Confirmed fixed on my end — single apply for the G213 in every fixture I ran (both enumeration orders, gradient+Direct, direct-only, static-only), and the real hardware takes the colour on one Thanks for the quick turnarounds on all three rounds. |
Theme switching retints ASUS ROG (asusctl) and Framework 16 (qmk_hid) keyboards, but devices managed by OpenRGB were left untouched. This adds OpenRGB to the theme engine.
bin/omarchy-theme-set-openrgb: reads the theme accent fromkeyboard.rgb, probesopenrgb --list-devicesonce, and applies a device-native gradient mode where one exists, falling back to static accent everywhere else (single broadcast when detection fails).bin/omarchy-theme-set-keyboard, so it runs in the existing parallel post-theme batch with no template changes.keyboard.rgbis missing (or the color is invalid); every OpenRGB call is timeout-bounded so a dead server never stalls the switch.Verified live against a Logitech G512 + Razer Basilisk V3 (both flip to static accent, exit 0), plus new
test/shell.d/openrgb-theme-test.sh(7 assertions, mocked openrgb). Full./test/clipasses;./test/shellshows only pre-existing environmental failures.