From 55450a823d766e7513acba4e087f9bbe2eba2984 Mon Sep 17 00:00:00 2001 From: "Reid \"reidlab" Date: Tue, 14 May 2024 18:10:27 -0700 Subject: [PATCH] playerctl controls --- modules/desktop/hyprland.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/desktop/hyprland.nix b/modules/desktop/hyprland.nix index c28f219..7b1b5fa 100644 --- a/modules/desktop/hyprland.nix +++ b/modules/desktop/hyprland.nix @@ -53,6 +53,11 @@ in { bindl = [ # "bind locked" ", XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" ", XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle" + + ", XF86AudioPlay, exec, ${lib.getExe pkgs.playerctl} play-pause" + ", XF86AudioStop, exec, ${lib.getExe pkgs.playerctl} stop" + ", XF86AudioPrev, exec, ${lib.getExe pkgs.playerctl} previous" + ", XF86AudioNext, exec, ${lib.getExe pkgs.playerctl} next" ]; bindr = [ # "bind released" "SUPER, Super_L, exec, ${lib.getExe pkgs.nwg-drawer}"