From 3d4365f15cbd638bbe82a3da0bfb8432cf3bbe71 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sun, 17 Sep 2023 21:21:33 +0900 Subject: feat(home/gui): waybar: replace pulseaudio with wireplumber * Since our audio setup is PipeWire-based, there is no reason to use pulseaudio to control volumes. --- home/profiles/gui/config/waybar/settings.nix | 4 ++-- home/profiles/gui/config/waybar/style.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/home/profiles/gui/config/waybar/settings.nix b/home/profiles/gui/config/waybar/settings.nix index 0d43af6..e96fa12 100644 --- a/home/profiles/gui/config/waybar/settings.nix +++ b/home/profiles/gui/config/waybar/settings.nix @@ -9,7 +9,7 @@ in layer = "bottom"; position = "top"; height = 22; - modules-left = [ "pulseaudio" "custom/separator" "cpu" "custom/separator" "memory" "custom/separator" "idle_inhibitor" ]; + modules-left = [ "wireplumber" "custom/separator" "cpu" "custom/separator" "memory" "custom/separator" "idle_inhibitor" ]; modules-center = [ "sway/workspaces" ]; modules-right = [ "tray" "network" "custom/separator" ] ++ lib.optionals (guiCfg.laptop.enable) [ "battery" "custom/separator" ] @@ -43,7 +43,7 @@ in format = "CPU {usage:2}%"; }; - "pulseaudio" = { + "wireplumber" = { format = "VOL {volume}%"; format-muted = "VOL Muted"; }; diff --git a/home/profiles/gui/config/waybar/style.nix b/home/profiles/gui/config/waybar/style.nix index 5009ccb..05d3746 100644 --- a/home/profiles/gui/config/waybar/style.nix +++ b/home/profiles/gui/config/waybar/style.nix @@ -57,7 +57,7 @@ in #memory, #idle_inhibitor, #language, - #pulseaudio, + #wireplumber, #tray, #mode, #mpd { -- cgit 1.4.1