diff --git a/rgb-lighting/rgb.py b/rgb-lighting/rgb.py new file mode 100644 index 0000000..e17a3f2 --- /dev/null +++ b/rgb-lighting/rgb.py @@ -0,0 +1,12 @@ +from openrgb import OpenRGBClient +from openrgb.utils import RGBColor, DeviceType + +# Ensure OpenRGB is running and the server is enabled. + +client = OpenRGBClient() + +gpu = client.get_devices_by_type(DeviceType.GPU)[0] +gpu.zones[0].set_color(RGBColor(20, 20, 20)) +gpu.set_mode('direct') + +client.save_profile('test') \ No newline at end of file