DEV Community

Lorenz Leitner
Lorenz Leitner

Posted on

3

Automate Razer devices on Linux

razer-cli is a command line interface to control Razer devices on Linux, where no official Razer driver software exists. openrazer is the driver used with razer-cli. It's a project I built independently during the last year.

I was unsatisfied with the main GUI alternatives on Linux, since they don't offer scriptability. The main thing I wanted to be able to do was setting the color of the LEDs of my Razer keyboard and mouse automatically, ideally according to the colors of my wallpaper. pywal generates color schemes from pictures, so razer-cli can use these colors to automatically set the LED colors.

Over time, more features were added to razer-cli, such as controlling DPI, brightness, different LED effects, etc.

It's part of my color everything pipeline, which tries to automatically apply color schemes to every possible device and software I have. This can be seen in action here.

Feel free to check out razer-cli and my other projects!

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay