From 47772f0fbf33a1fedf7048b5f366d5eb3153455e Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Thu, 29 Feb 2024 08:15:47 -0600 Subject: [PATCH] refactor(hypr): use wpctl for volume controls --- dots/.config/hypr/wm/bindings.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dots/.config/hypr/wm/bindings.conf b/dots/.config/hypr/wm/bindings.conf index b774dfb6..0bf24e06 100644 --- a/dots/.config/hypr/wm/bindings.conf +++ b/dots/.config/hypr/wm/bindings.conf @@ -77,9 +77,9 @@ bind = SUPERSHIFT,M,exit bindl = ,XF86AudioPrev,exec,playerctl previous bindl = ,XF86AudioNext,exec,playerctl next bindl = ,XF86AudioPlay,exec,playerctl play-pause -binde = ,XF86AudioRaiseVolume,exec,pw-volume change -- '+5%'; pkill -RTMIN+8 waybar -binde = ,XF86AudioLowerVolume,exec,pw-volume change -- '-5%'; pkill -RTMIN+8 waybar -bindl = ,XF86AudioMute,exec,pw-volume mute toggle; pkill -RTMIN+8 waybar +bindel= ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ +bindel= ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- +bindl= ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle binde = ,XF86MonBrightnessUp,exec,brightnessctl s 5%+ binde = ,XF86MonBrightnessDown,exec,brightnessctl s 5%-