From f7ea988d1c2395e861d3c582c8e89389777b1d76 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Fri, 6 Sep 2024 10:49:22 -0400 Subject: [PATCH] ironbar: Use dunst scripts for volume up/down --- home/ironbar.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/home/ironbar.nix b/home/ironbar.nix index d14d0c47..46004bf3 100644 --- a/home/ironbar.nix +++ b/home/ironbar.nix @@ -1,4 +1,5 @@ { + nix-config, config, lib, pkgs, @@ -8,6 +9,7 @@ let inherit (lib) singleton; inherit (builtins) toJSON; + inherit (nix-config.packages.${pkgs.system}) dunst-scripts; inherit (config.lib.stylix.colors.withHashtag) base00 @@ -62,8 +64,8 @@ in { type = "script"; cmd = "~/.config/${volumeScript}"; - on_click_left = "volumectl -d up"; - on_click_right = "volumectl -d down"; + on_click_left = "${dunst-scripts}/bin/mv-up"; + on_click_right = "${dunst-scripts}/bin/mv-down"; mode = "watch"; } {