caffeine-ng icon indicating copy to clipboard operation
caffeine-ng copied to clipboard

activate / desactivate caffeine by a global hotkey

Open Artiom-M opened this issue 7 years ago • 1 comments

Hi,

it would be desirable if caffeine-ng would enable users to deactivate it by a hotkey. Alternatively if you make caffeine -a or caffeine -d actually do what they advertise to an already running instance uses would be able to define a hotkey using his desktop environment.

Artiom-M avatar Sep 28 '18 06:09 Artiom-M

Here is my quick patch for the hotkey activation. It uses python3-keybinder module.

caff.patch.txt

I am not familiar with GTK development in order to provide something more useful but from my point of view the only missing thing is the hotkey configuration field in the options.

Artiom-M avatar Oct 03 '18 11:10 Artiom-M

This project has moved to codeberg.

Follow-up for this issue is at https://codeberg.org/WhyNotHugo/caffeine-ng/issues/9

WhyNotHugo avatar Nov 06 '22 14:11 WhyNotHugo