Skip to content

Rust interactive CLI to change peripheral RGB according to current theme colors generated by pywal.

Notifications You must be signed in to change notification settings

isaacmg00/wal-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wal-rs

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.

Dependencies

  • pywal
  • g810-led
  • ratbagctl

Working Devices

Mouse Keyboard
G PRO Wireless G PRO

Usage

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.

About

Rust interactive CLI to change peripheral RGB according to current theme colors generated by pywal.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages