ironbar: Use dunst scripts for volume up/down

This commit is contained in:
Donovan Glover 2024-09-06 10:49:22 -04:00
parent 5c4eed77f7
commit f7ea988d1c
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -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";
}
{