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:
Alexander Hess 2022-08-10 13:06:52 +02:00
commit 337bebbb0c
Signed by: alexander
GPG key ID: 344EA5AB10D868E0
6 changed files with 67 additions and 2 deletions

View 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.incBrightness(5)
right.incBrightness(5)