feat: tidy

This commit is contained in:
2025-07-27 21:55:55 +08:00
parent f642f9c9cc
commit e6a2690baa
4 changed files with 3 additions and 54 deletions

View File

@@ -1,6 +1,7 @@
{
config,
lib,
pkgs,
username,
...
}:
@@ -20,5 +21,6 @@ lib.my.makeSwitch {
};
users.extraUsers.${username}.extraGroups = [ "audio" ];
my.persist.homeDirs = [ ".local/state/wireplumber" ];
my.home.home.packages = [ pkgs.pwvucontrol ];
};
}

View File

@@ -81,25 +81,12 @@ _: {
tooltip = false;
};
wireplumber = {
format = "{icon} {volume}%";
format = "󰋋 {volume}%";
tooltip = false;
format-muted = "󰟎 Muted";
on-click = "wpctl set-mute @DEFAULT_SINK@ toggle";
on-click-middle = "pwvucontrol";
scroll-step = 5;
format-icons = {
headphone = "󰋋";
hands-free = "󰋋";
headset = "󰋋";
phone = "";
portable = "";
car = "";
default = [
""
""
""
];
};
};
"wireplumber#source" = {
node-type = "Audio/Source";