nwg-panel: enable per-app volume controls
This commit is contained in:
parent
3c2347faba
commit
a78b840215
|
@ -99,6 +99,7 @@
|
|||
./obsidian.nix
|
||||
./offlineimap.nix
|
||||
./open-in-mpv.nix
|
||||
./pactl.nix
|
||||
./pipewire.nix
|
||||
./planify.nix
|
||||
./portfolio-filemanager.nix
|
||||
|
|
|
@ -84,6 +84,10 @@ in
|
|||
strictDeps = true;
|
||||
});
|
||||
|
||||
suggestedPrograms = [
|
||||
"pactl" # pactl required by `per-app-volume` component.
|
||||
];
|
||||
|
||||
# fs.".config/nwg-panel/config".symlink.target = ./config;
|
||||
# fs.".config/nwg-panel/style.css".symlink.target = ./style.css;
|
||||
fs.".config/nwg-panel/config".symlink.target = pkgs.substituteAll {
|
||||
|
@ -99,6 +103,7 @@ in
|
|||
"brightness"
|
||||
] ++ [
|
||||
"volume"
|
||||
"per-app-volume"
|
||||
] ++ lib.optionals cfg.config.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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user