Skip to content

Python Script that sets OpenRGB Ledstripe to pywal colors

Notifications You must be signed in to change notification settings

agenttank/openrgb_pywal.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

openrgb_pywal.py

Python Script that sets OpenRGB Ledstripe to pywal colors

needs openrgb server running (simply click the button to start OpenRGB Server in the GUI)

OR

use a systemd unit file starts the openRGB server/service on startup cat /usr/lib/systemd/system/openrgb.service

[Unit] Description=Run openrgb server After=network.target lm_sensors.service

/usr/lib/systemd/system/openrgb.service

[Service] Type=simple RemainAfterExit=yes ExecStart=/usr/bin/openrgb --server ExecStop=/usr/bin/killall openrgb Restart=always

[Install] WantedBy=multi-user.target

systemctl daemon-reload systemctl start openrgb systemctl enable openrgb

i trigger the script with this (also let's me set a wallpaper): alias wallpaper='wal --backend colorz -i "$(sxiv -tfbo ~/.local/share/wallpapers)" && ~/.config/wal/led.py'

Example

pywal_openrgb

Many parts of the script are copied from another python script by someone else - I edit this README as soon as I find it.

About

Python Script that sets OpenRGB Ledstripe to pywal colors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages