Add Framework Desktop ARGB fan RGB theme syncing#4593
Open
chipkoziara wants to merge 4 commits intobasecamp:devfrom
Open
Add Framework Desktop ARGB fan RGB theme syncing#4593chipkoziara wants to merge 4 commits intobasecamp:devfrom
chipkoziara wants to merge 4 commits intobasecamp:devfrom
Conversation
Adds omarchy-theme-set-fan to autostart.conf so fan colors sync with the active theme automatically on login. Gracefully handles systems without RGB fan hardware (exits silently with no side effects).
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.
Add Framework Desktop ARGB Fan RGB Theme Syncing
Summary
Adds automatic RGB theme synchronization for Framework Desktop ARGB fans. The fan colors now automatically match Omarchy theme's accent color. Inspired by PR #4524.
What's Changed
Core Functionality
~/.config/omarchy/fan-colors/<theme-name>.txtImplementation Details
New Commands:
omarchy-hw-framework-desktop- Hardware detection for Framework Desktopomarchy-theme-set-fan- Unified fan RGB setter (extensible for future hardware) similar to the pattern used in PR #4524omarchy-theme-set-fan-framework-desktop- Framework-specific RGB implementationIntegration Points:
omarchy-theme-setfor automatic theme changesdefault/hypr/autostart.conffor startup synchronizationframework_toolfromframework-systempackageConfiguration:
~/.config/omarchy/current/theme/framework-desktop-fan.rgb~/.config/omarchy/fan-colors/directory/etc/sudoers.d/framework-tool(this is necessary for framework-tool usage to set fan colors)Migration
framework-systempackage on Framework Desktop hardwareframework_toolaccessHardware Support
Currently Supported:
Graceful Degradation:
Testing
Tested on Framework Desktop with ARGB fan:
Files Changed
bin/omarchy-hw-framework-desktop- Hardware detectionbin/omarchy-theme-set- Added fan RGB callbin/omarchy-theme-set-fan- Unified dispatcherbin/omarchy-theme-set-fan-framework-desktop- Framework implementationdefault/hypr/autostart.conf- Added startup RGB syncdefault/themed/framework-desktop-fan.rgb.tpl- Theme color templateinstall/config/all.sh- Config installation hookinstall/config/hardware/framework-desktop-argb.sh- Hardware-specific configinstall/packaging/all.sh- Package installation hookinstall/packaging/framework-desktop.sh- Framework package listmigrations/1770478375.sh- Migration for existing usersDocumentation
For Users:
The fan colors will automatically sync with your theme. To customize colors for a specific theme:
~/.config/omarchy/fan-colors/<theme-name>.txtTo Extend for Additional Hardware:
The architecture supports adding RGB support for other hardware. To add support for new RGB fans:
bin/omarchy-theme-set-fan-<hardware>omarchy-hw-<hardware>bin/omarchy-theme-set-fanThis is my first non-trivial PR, and I used OpenCode heavily to get this built out... please let me know if there's anything I need to adjust!