vchlum / hue-lights

Gnome Shell extension for Philips Hue compatible lights controlled by the Philips Hue Bridge and for controlling Philips Hue HDMI sync box.
https://extensions.gnome.org/extension/3737/hue-lights/
MIT License
196 stars 14 forks source link

Assign keyboard shortcuts to actions #46

Open Theodorex opened 2 years ago

Theodorex commented 2 years ago

Using keyboard shortcuts for turning off/on the lights (or other functions) would be a nice feature. Everything else works perfectly, great job with the extension!

vchlum commented 2 years ago

I have thought about it. I would like to have the feature. Can't promises it any soon due to my free time. Thank you for the idea.

dysbulic commented 1 year ago

You could add a dbus handler, and then use the system keyboard shortcuts to trigger them.

It could be as simple as a dbus endpoint that takes a bulb or zone name & a color & sets things appropriately. That'd likely take less time to write than however global keyboard listeners are properly handled in Gnome.