A lightweight C++ driver for OpenRGB that creates a smooth, software-controlled rainbow effect. Designed for devices that lack built-in hardware rainbow modes on linux, such as the RGB keyboard of a laptop.
-
Low Resource Usage
Although python would have been easier and better for my sanity, this uses efficient C++ and subsequently has far lower CPU usage. -
Smart Scripts
Automatically manages the local OpenRGB server (starts it if not already active). -
Toggle Control
Simplerbow onandrbow offcommands. -
Clean Exit
Sets lights to static white when stopped, although this is quite simple to customize.
- Linux (in this case, I am using Lubuntu 24.04)
- OpenRGB (installed and configured)
- libopenrgb (development library)
- cmake and g++
git clone https://github.com/varun0693/OpenRGB-rainbow-keyboard-implementation.git
cd OpenRGB-rainbow-keyboard-implementation
mkdir build
cd build
cmake ..
make
-
Open the file ../shortcut-setup/bashrc_snippet.txt
-
Copy its contents
-
Paste it into your ~/.bashrc
-
Important: Edit REPO_PATH to match where you cloned this repository
-
Reload your shell configuration:
source ~/.bashrc
rbow on
rbow off