mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
ironbar: Use dunst scripts for volume up/down
This commit is contained in:
parent
5c4eed77f7
commit
f7ea988d1c
@ -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";
|
||||
}
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user