From 2a4c627522a83725963d40c8c2e6966652c6a78a Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Sat, 13 Apr 2024 11:12:53 +0200 Subject: [PATCH] Hyprland: pamixer -> wireplumber --- modules/hm/hyprland.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/hm/hyprland.nix b/modules/hm/hyprland.nix index 059cc39..008f611 100644 --- a/modules/hm/hyprland.nix +++ b/modules/hm/hyprland.nix @@ -11,7 +11,7 @@ ./wl_update_background.nix ]; - home.packages = builtins.attrValues { inherit (pkgs) blueman brillo gamescope grimblast networkmanagerapplet pamixer playerctl swaylock swww way-lockscreen waybar wl-clipboard wl-clipedit wlogout wofi wofi-emoji wtype xdg-desktop-portal-gtk; }; + home.packages = builtins.attrValues { inherit (pkgs) blueman brillo gamescope grimblast networkmanagerapplet wireplumber playerctl swaylock swww way-lockscreen waybar wl-clipboard wl-clipedit wlogout wofi wofi-emoji wtype xdg-desktop-portal-gtk; }; # wayland.windowManager.hyprland = { }; @@ -229,10 +229,10 @@ bindm = SUPER, mouse:272, movewindow bindm = SUPER, mouse:273, resizewindow - bind = , XF86AudioLowerVolume, exec, pamixer -d 2 -u - bind = , XF86AudioMute, exec, pamixer -t - bind = , XF86AudioRaiseVolume, exec, pamixer -i 2 -u - bind = SUPER ALT, M, exec, pamixer --default-source -t + bindel=, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%+ + bindel=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%- + bindl=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle + bind = SUPER ALT, M, exec, wpctl set-mute @DEFAULT_SOURCE@ toggle bind = , XF86AudioNext, exec, playerctl next bind = , XF86AudioPlay, exec, playerctl play-pause