From d7417c2b11c4feee489e26973c0e9e7f6f65e472 Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Mon, 13 May 2024 12:00:49 -0300 Subject: [PATCH] hm(hyprland): add binds for volume up, down and mute --- programs/hyprland/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/programs/hyprland/default.nix b/programs/hyprland/default.nix index 6bd1fcb..e92c887 100644 --- a/programs/hyprland/default.nix +++ b/programs/hyprland/default.nix @@ -251,6 +251,11 @@ bind = $mainMod SHIFT, J, movewindow, d bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow + + # Volume changes + binde = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+ + binde = , XF86AudioLowerVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%- + bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle # Window rules windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$