Add keyboard shortcuts for Elgato key lights
- 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)
This commit is contained in:
parent
9bc310ff9f
commit
337bebbb0c
6 changed files with 67 additions and 2 deletions
12
.config/gnome-settings/elgato/dec_brightness.py
Executable file
12
.config/gnome-settings/elgato/dec_brightness.py
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue