diff --git a/modules/desktop/hyprland/hyprland-binds.lua b/modules/desktop/hyprland/hyprland-binds.lua index 017b384..b63410b 100644 --- a/modules/desktop/hyprland/hyprland-binds.lua +++ b/modules/desktop/hyprland/hyprland-binds.lua @@ -65,3 +65,7 @@ hl.bind("XF86AudioMicMute", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_S hl.bind("XF86MonBrightnessUp", hl.dsp.exec_cmd("brightnessctl -e4 -n2 set 5%+"), { locked = true, repeating = true, description = "increase monitor brightness" }) hl.bind("XF86MonBrightnessDown",hl.dsp.exec_cmd("brightnessctl -e4 -n2 set 5%-"), { locked = true, repeating = true, description = "decrease monitor brightness" }) +-- For keyboards w/o media keys +hl.bind("code:78", hl.dsp.exec_cmd("wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+"), { locked = true, repeating = true, description = "increase volume" }) +hl.bind("code:107", hl.dsp.exec_cmd("wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"), { locked = true, repeating = true, description = "decrease volume" }) +hl.bind("code:127", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"), { locked = true, repeating = true, description = "mute audio" })