mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 08:14:00 +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,
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
@ -8,6 +9,7 @@
|
|||||||
let
|
let
|
||||||
inherit (lib) singleton;
|
inherit (lib) singleton;
|
||||||
inherit (builtins) toJSON;
|
inherit (builtins) toJSON;
|
||||||
|
inherit (nix-config.packages.${pkgs.system}) dunst-scripts;
|
||||||
|
|
||||||
inherit (config.lib.stylix.colors.withHashtag)
|
inherit (config.lib.stylix.colors.withHashtag)
|
||||||
base00
|
base00
|
||||||
@ -62,8 +64,8 @@ in
|
|||||||
{
|
{
|
||||||
type = "script";
|
type = "script";
|
||||||
cmd = "~/.config/${volumeScript}";
|
cmd = "~/.config/${volumeScript}";
|
||||||
on_click_left = "volumectl -d up";
|
on_click_left = "${dunst-scripts}/bin/mv-up";
|
||||||
on_click_right = "volumectl -d down";
|
on_click_right = "${dunst-scripts}/bin/mv-down";
|
||||||
mode = "watch";
|
mode = "watch";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user