From 0050fa57dd253e5f4a192af8026379772a578bd4 Mon Sep 17 00:00:00 2001 From: Nydragon Date: Wed, 22 May 2024 12:30:17 +0900 Subject: [PATCH] chore: add playerctl as dependency and remove redundant pamixer declaration --- home/sway/default.nix | 8 ++++---- hosts/xps9510/configuration.nix | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/home/sway/default.nix b/home/sway/default.nix index 9b43050..fd3c496 100644 --- a/home/sway/default.nix +++ b/home/sway/default.nix @@ -84,10 +84,10 @@ "--locked XF86AudioLowerVolume" = "exec --no-startup-id ${pkgs.pamixer}/bin/pamixer -d 5"; "--locked XF86AudioMicMute" = "exec --no-startup-id ${pkgs.pamixer}/bin/pamixer --default-source -m"; "--locked XF86AudioMute" = "exec --no-startup-id ${pkgs.pamixer}/bin/pamixer -t"; - "--locked XF86AudioPlay" = "exec playerctl play-pause"; - "--locked XF86AudioPause" = "exec playerctl play-pause"; - "--locked XF86AudioNext" = "exec playerctl next"; - "--locked XF86AudioPrev" = "exec playerctl previous"; + "--locked XF86AudioPlay" = "exec ${pkgs.playerctl}/bin/playerctl play-pause"; + "--locked XF86AudioPause" = "exec ${pkgs.playerctl}/bin/playerctl play-pause"; + "--locked XF86AudioNext" = "exec ${pkgs.playerctl}/bin/playerctl next"; + "--locked XF86AudioPrev" = "exec ${pkgs.playerctl}/bin/playerctl previous"; "Print" = "exec ${screenshot}/bin/screenshot"; "${mod}+u" = "exec ${screenshot}/bin/screenshot"; #: {{{ diff --git a/hosts/xps9510/configuration.nix b/hosts/xps9510/configuration.nix index 5ddfd32..a56029a 100644 --- a/hosts/xps9510/configuration.nix +++ b/hosts/xps9510/configuration.nix @@ -207,7 +207,6 @@ in kdeconnect dotter glib - pamixer wireguard-tools dconf pavucontrol