From 94de74e3f59473491021735ec647cbc29e76c1e5 Mon Sep 17 00:00:00 2001 From: Szymon P Date: Wed, 25 Feb 2026 11:55:11 +0100 Subject: [PATCH] pause fix --- modules/hypr/hyprland.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/hypr/hyprland.nix b/modules/hypr/hyprland.nix index 82465aa..dffa984 100644 --- a/modules/hypr/hyprland.nix +++ b/modules/hypr/hyprland.nix @@ -19,6 +19,7 @@ let else "/usr/lib/xdg-desktop-portal-hyprland"; hyprlock = exe pkgs.hyprlock "hyprlock"; + playerctl = exe pkgs.playerctl "playerctl"; in { wayland.windowManager.hyprland = { @@ -329,6 +330,9 @@ in ${wl_copy} < "$target_path" ${notify_send} -i "$target_path" -u low -a "Screenshot" "Screenshot window" "Saved and copied" ''}" + + ", PAUSE, exec, ${playerctl} play-pause" + "$mainMod, PAUSE, exec, ${playerctl} play-pause --player spotify" ]; bindm = [