soft-brightness
soft-brightness copied to clipboard
Add shortcuts or other way to change the brightness programatically
Please add a way to control this brightness with keyboard and/or commands. I need a way to add this to my KDE connect so that I can adujst brightness with my phone while watching a movie. Right now, I am using xrandr for that, but it doesn't work with your extension, which is otherwise excellent. Thank you
Regarding brightness control with the keyboard: Please check the section about the Use backlight control on how to achieve that. You want to have backlight control on in settings.
Regarding programmatic access:
- If you're using backlight control, you can change the brightness with the hotkeys and use the usual programatic ways to change the brightness.
- If you're not using backlight control, you'll have to bind hotkeys yourself, and you can access and change the brightness level with dconf:
dconf write /org/gnome/shell/extensions/soft-brightness/current-brightness 0.8 dconf read /org/gnome/shell/extensions/soft-brightness/current-brightness