Alexander Hess
337bebbb0c
- create Gnome keyboard shortcuts to manage the Elgato key lights: + toggle + increase and decrease brightness - we use Python scripts in ~/.config/gnome-settings/elgato based on the "leglight" PIP package (Source: https://gitlab.com/obviate.io/pyleglight)
12 lines
268 B
Python
Executable file
12 lines
268 B
Python
Executable file
#!/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)
|