aboutsummaryrefslogtreecommitdiffhomepage
path: root/example
diff options
context:
space:
mode:
authorDarth ŠČ! <[email protected]>2024-09-07 17:14:23 +0200
committerGitHub <[email protected]>2024-09-07 16:14:23 +0100
commit5ca48231287d67e75a3f21dbdbc47d6dc65752c4 (patch)
tree36908803ff18d9d68c1b79d79aa9fa616fd790fe /example
parent0500213086f8402ccbdb2acb4748dbc6d22e21f6 (diff)
downloadHyprland-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.conf8
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 ###