nwg-panel: enable per-app volume controls
This commit is contained in:
@@ -99,6 +99,7 @@
|
|||||||
./obsidian.nix
|
./obsidian.nix
|
||||||
./offlineimap.nix
|
./offlineimap.nix
|
||||||
./open-in-mpv.nix
|
./open-in-mpv.nix
|
||||||
|
./pactl.nix
|
||||||
./pipewire.nix
|
./pipewire.nix
|
||||||
./planify.nix
|
./planify.nix
|
||||||
./portfolio-filemanager.nix
|
./portfolio-filemanager.nix
|
||||||
|
@@ -84,6 +84,10 @@ in
|
|||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
suggestedPrograms = [
|
||||||
|
"pactl" # pactl required by `per-app-volume` component.
|
||||||
|
];
|
||||||
|
|
||||||
# fs.".config/nwg-panel/config".symlink.target = ./config;
|
# fs.".config/nwg-panel/config".symlink.target = ./config;
|
||||||
# fs.".config/nwg-panel/style.css".symlink.target = ./style.css;
|
# fs.".config/nwg-panel/style.css".symlink.target = ./style.css;
|
||||||
fs.".config/nwg-panel/config".symlink.target = pkgs.substituteAll {
|
fs.".config/nwg-panel/config".symlink.target = pkgs.substituteAll {
|
||||||
@@ -99,6 +103,7 @@ in
|
|||||||
"brightness"
|
"brightness"
|
||||||
] ++ [
|
] ++ [
|
||||||
"volume"
|
"volume"
|
||||||
|
"per-app-volume"
|
||||||
] ++ lib.optionals cfg.config.battery [
|
] ++ lib.optionals cfg.config.battery [
|
||||||
"battery"
|
"battery"
|
||||||
]
|
]
|
||||||
|
6
hosts/common/programs/pactl.nix
Normal file
6
hosts/common/programs/pactl.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
sane.programs.pactl = {
|
||||||
|
packageUnwrapped = pkgs.linkIntoOwnPackage pkgs.pulseaudio "bin/pactl";
|
||||||
|
};
|
||||||
|
}
|
Reference in New Issue
Block a user