aboutsummaryrefslogtreecommitdiff
path: root/resources/default-config.kdl
diff options
context:
space:
mode:
Diffstat (limited to 'resources/default-config.kdl')
-rw-r--r--resources/default-config.kdl4
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.