Created
June 5, 2024 20:32
-
-
Save luzfcb/a6f82eee223ee0095c7825c3fce423cf to your computer and use it in GitHub Desktop.
systemd open_rgb.service . Load an OpenRGB profile when the computer has a cold boot or wakeup from suspension mode.
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
# /etc/systemd/system/open_rgb.service | |
# sudo systemctl enable open_rgb.service | |
# sudo systemctl start open_rgb.service | |
[Unit] | |
Description=OpenRGB control | |
After=multi-user.target suspend.target | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/bin/openrgb --localconfig -p <profile_name>.orp | |
WorkingDirectory=/home/<user>/.config/OpenRGB | |
User=<user> | |
Group=i2c | |
[Install] | |
WantedBy=multi-user.target suspend.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment