Skip to content

Commit

Permalink
feat: replace pavucontrol with pwvucontrol
Browse files Browse the repository at this point in the history
  • Loading branch information
jnsgruk committed Nov 18, 2024
1 parent 864fdb2 commit 5a1d8bb
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion home/common/desktop/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
loupe
pamixer
papers
pavucontrol
pwvucontrol
todoist-electron
xdg-utils
xorg.xlsclients
Expand Down
2 changes: 1 addition & 1 deletion home/common/desktop/hyprland/config/window-rules.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ _: {
"noanim,title:^(Quick Access — 1Password)$"

"float, class:^(org.gnome.*)$"
"float, class:^(pavucontrol)$"
"float, class:^(pavucontrol|com.saivert.pwvucontrol)$"
"float, class:(blueberry\.py)"

# make pop-up file dialogs floating, centred, and pinned
Expand Down
2 changes: 1 addition & 1 deletion home/common/desktop/sway/config/window-rules.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ _: {
{
command = "floating enable";
criteria = {
app_id = "org.gnome.*|nm-connection-editor|pavucontrol|pinentry-qt|^code$";
app_id = "org.gnome.*|nm-connection-editor|pavucontrol|com.saivert.pwvucontrol|pinentry-qt|^code$";
};
}
{
Expand Down
4 changes: 2 additions & 2 deletions home/common/desktop/waybar/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ in
"wireplumber" = {
format = "{volume}% {icon}";
format-muted = "";
on-click = "${lib.getExe pkgs.pavucontrol}";
on-click = "${lib.getExe pkgs.pwvucontrol}";
format-icons = [
""
""
Expand All @@ -236,7 +236,7 @@ in
format = "{format_source}";
format-source = "";
format-source-muted = "";
on-click = "${lib.getExe pkgs.pavucontrol}";
on-click = "${lib.getExe pkgs.pwvucontrol}";
tooltip-format = "{source_volume}% / {desc}";
};

Expand Down
2 changes: 1 addition & 1 deletion host/common/services/pipewire.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
wireplumber.enable = true;
};

environment.systemPackages = if (builtins.isString desktop) then [ pkgs.pavucontrol ] else [ ];
environment.systemPackages = if (builtins.isString desktop) then [ pkgs.pwvucontrol ] else [ ];
}

0 comments on commit 5a1d8bb

Please sign in to comment.