<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Lorenz Leitner</title>
    <description>The latest articles on DEV Community by Lorenz Leitner (@lolei).</description>
    <link>https://dev.to/lolei</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F94734%2Fdad945af-974f-4721-b8bc-4e5415feb224.png</url>
      <title>DEV Community: Lorenz Leitner</title>
      <link>https://dev.to/lolei</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/lolei"/>
    <language>en</language>
    <item>
      <title>Automate Razer devices on Linux</title>
      <dc:creator>Lorenz Leitner</dc:creator>
      <pubDate>Wed, 20 May 2020 07:48:50 +0000</pubDate>
      <link>https://dev.to/lolei/automate-razer-devices-on-linux-1jhj</link>
      <guid>https://dev.to/lolei/automate-razer-devices-on-linux-1jhj</guid>
      <description>&lt;p&gt;&lt;a href="https://github.com/LoLei/razer-cli"&gt;&lt;code&gt;razer-cli&lt;/code&gt;&lt;/a&gt; is a command line interface to control Razer devices on Linux, where no official Razer driver software exists. &lt;a href="https://openrazer.github.io/"&gt;&lt;code&gt;openrazer&lt;/code&gt;&lt;/a&gt; is the driver used with &lt;code&gt;razer-cli&lt;/code&gt;. It's a project I built independently during the last year.&lt;/p&gt;

&lt;p&gt;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. &lt;a href="https://github.com/dylanaraps/pywal"&gt;&lt;code&gt;pywal&lt;/code&gt;&lt;/a&gt; generates color schemes from pictures, so &lt;code&gt;razer-cli&lt;/code&gt; can use these colors to automatically set the LED colors.&lt;/p&gt;

&lt;p&gt;Over time, more features were added to &lt;code&gt;razer-cli&lt;/code&gt;, such as controlling DPI, brightness, different LED effects, etc.&lt;/p&gt;

&lt;p&gt;It's part of my &lt;em&gt;color everything&lt;/em&gt; pipeline, which tries to automatically apply color schemes to every possible device and software I have. This can be seen in action &lt;a href="https://github.com/LoLei/dotfiles/blob/master/exec-wal.sh"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Feel free to check out &lt;a href="https://github.com/LoLei/razer-cli"&gt;&lt;code&gt;razer-cli&lt;/code&gt;&lt;/a&gt; and my &lt;a href="https://github.com/LoLei/portfolio"&gt;other projects&lt;/a&gt;!&lt;/p&gt;

</description>
      <category>razer</category>
      <category>linux</category>
      <category>python</category>
      <category>automation</category>
    </item>
  </channel>
</rss>
