diff options
author | Darth ŠČ! <[email protected]> | 2024-09-07 17:14:23 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-09-07 16:14:23 +0100 |
commit | 5ca48231287d67e75a3f21dbdbc47d6dc65752c4 (patch) | |
tree | 36908803ff18d9d68c1b79d79aa9fa616fd790fe /example | |
parent | 0500213086f8402ccbdb2acb4748dbc6d22e21f6 (diff) | |
download | Hyprland-5ca48231287d67e75a3f21dbdbc47d6dc65752c4.tar.gz Hyprland-5ca48231287d67e75a3f21dbdbc47d6dc65752c4.zip |
config: Added default button mapping for xf86 keys (#7672)
* Added default button mapping for laptop multimedia keys for volume and brightness
* Added default button mapping for laptop multimedia keys for volume and brightness into example config
Diffstat (limited to 'example')
-rw-r--r-- | example/hyprland.conf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/example/hyprland.conf b/example/hyprland.conf index d55d25fd..76e5bcdb 100644 --- a/example/hyprland.conf +++ b/example/hyprland.conf @@ -228,6 +228,14 @@ bind = $mainMod, mouse_up, workspace, e-1 bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow +# Laptop multimedia keys for volume and LCD brightness +bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ +bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- +bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle +bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle +bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+ +bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%- + ############################## ### WINDOWS AND WORKSPACES ### |