diff options
| author | Nicolaos Skimas <contact@nicolaos.dev> | 2025-06-16 23:37:00 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-17 06:37:00 +0000 |
| commit | e53f8527b0517cf965961ae729b7dd631ed76db5 (patch) | |
| tree | 460b4ca9a5678133e8cb4b518c61bce01aa17a68 | |
| parent | da3dc913a60062343a5a76b8745e55173a150751 (diff) | |
| download | niri-e53f8527b0517cf965961ae729b7dd631ed76db5.tar.gz niri-e53f8527b0517cf965961ae729b7dd631ed76db5.tar.bz2 niri-e53f8527b0517cf965961ae729b7dd631ed76db5.zip | |
Add backlight adjustment keys to default config (#1824)
* Support backlight adjustment keys in default config
* Update resources/default-config.kdl
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
| -rw-r--r-- | resources/default-config.kdl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/resources/default-config.kdl b/resources/default-config.kdl index bcab36cb..ae78be13 100644 --- a/resources/default-config.kdl +++ b/resources/default-config.kdl @@ -364,6 +364,10 @@ binds { XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; } XF86AudioMicMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; } + // Example brightness key mappings for brightnessctl. + XF86MonBrightnessUp allow-when-locked=true { spawn "brightnessctl" "--class=backlight" "set" "+10%"; } + XF86MonBrightnessDown allow-when-locked=true { spawn "brightnessctl" "--class=backlight" "set" "10%-"; } + // Open/close the Overview: a zoomed-out view of workspaces and windows. // You can also move the mouse into the top-left hot corner, // or do a four-finger swipe up on a touchpad. |
