dotfiles/.config/gnome-settings/elgato/dec_brightness.py

13 lines
268 B
Python
Raw Normal View History

#!/usr/bin/env python
import leglight
LEFT_KEYLIGHT_IP = "192.168.20.72"
RIGHT_KEYLIGHT_IP = "192.168.20.73"
left = leglight.LegLight(LEFT_KEYLIGHT_IP, port=9123)
right = leglight.LegLight(RIGHT_KEYLIGHT_IP, port=9123)
left.decBrightness(5)
right.decBrightness(5)