wal-rs is a rust CLI I made to keep a consistent theme with both my desktop wallpaper and RGB peripherals (mouse/keyboard). It searches for a JSON file at ~/.cache/wal/colors.json
to load 16 colors generated by pywal that you can choose from to set the KBM RGB color.
Note: This script has only been tested using Logitech devices on Linux. For Windows use the proprietary LG G Hub software.
- pywal
- g810-led
- ratbagctl
Mouse | Keyboard |
---|---|
G PRO Wireless | G PRO |
Skip this step if you already have rust installed.
curl https://sh.rustup.rs -sSf | sh # install rust with cURL
In a terminal, run
git clone https://github.com/isaacmg00/wal-rs
cd wal-rs/
cargo run
Enjoy!
TODO: error handling, refactoring, progress bars for looks, expand functionality and test for more Logitech devices.