dont use literal programs, use paths
Some checks are pending
/ ci (push) Waiting to run

This commit is contained in:
Callum Leslie 2024-09-12 23:16:33 +01:00
parent cd0e067dad
commit 1d10befe61
Signed by: cleslie
GPG key ID: D382C4AFEECEAA90
10 changed files with 99 additions and 367 deletions

View file

@ -1,4 +1,10 @@
{pkgs, ...}: {
{
pkgs,
cLib,
...
}: let
soundControl = cLib.getProgFor pkgs "pwvucontrol";
in {
programs.waybar = {
enable = true;
package = pkgs.waybar.override {
@ -35,7 +41,7 @@
tooltip = false;
};
wireplumber = {
on-click = "${pkgs.pwvucontrol}/bin/pwvucontrol";
on-click = toString soundControl;
format = "{icon} {volume}%";
format-muted = "";
format-icons = ["" "" ""];