diff --git a/wm/hyprland.nix b/wm/hyprland.nix index a15ce8a..c2aa5bb 100644 --- a/wm/hyprland.nix +++ b/wm/hyprland.nix @@ -5,6 +5,7 @@ bzmenu hyprshot hyprlock + playerctl ]; wayland.windowManager.hyprland = { @@ -115,6 +116,12 @@ # Hyprshot "$mod, Z, exec, hyprshot -m region" + + # Media keys + ", XF86AudioPlay, exec, playerctl play-pause" + ", XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" + ", XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+" + ", XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-" ]; bindm = [