status/backlight: Add new quick toggle

Settings no longer exposes a slider for the keyboard brightness,
leaving keyboard shortcuts as the only way of adjusting it.

This is good enough in most cases, because devices with keyboard
backlight usually include corresponding keys on their keyboard.

However for devices without those keys, it would be good for the
settings to be exposed somewhere again. Quick settings seems like
a more appropriate place than "proper" Settings, since it gives
quick access that doesn't require a major focus change.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6765

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2820>
This commit is contained in:
Florian Müllner 2023-06-13 21:36:20 +02:00 committed by Marge Bot
parent 797df4f52f
commit 62db8dc16e
11 changed files with 247 additions and 0 deletions

View file

@ -60,6 +60,7 @@ js/ui/shellMountOperation.js
js/ui/status/accessibility.js
js/ui/status/autoRotate.js
js/ui/status/backgroundApps.js
js/ui/status/backlight.js
js/ui/status/bluetooth.js
js/ui/status/brightness.js
js/ui/status/darkMode.js