about summary refs log tree commit diff
path: root/home/profiles/gui/config/waybar
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-09-17 21:21:33 +0900
committersefidel <contact@sefidel.net>2023-09-17 21:21:33 +0900
commit3d4365f15cbd638bbe82a3da0bfb8432cf3bbe71 (patch)
tree624c004928d22d1c569df524f49c126126011a90 /home/profiles/gui/config/waybar
parent4e1ee5df49924dc2db6b970ebf1fb0dff6ad81bf (diff)
downloadnixrc-3d4365f15cbd638bbe82a3da0bfb8432cf3bbe71.tar.gz
nixrc-3d4365f15cbd638bbe82a3da0bfb8432cf3bbe71.zip
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.
Diffstat (limited to 'home/profiles/gui/config/waybar')
-rw-r--r--home/profiles/gui/config/waybar/settings.nix4
-rw-r--r--home/profiles/gui/config/waybar/style.nix2
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 = "<span foreground='#${color2}'>CPU</span> {usage:2}%";
   };
 
-  "pulseaudio" = {
+  "wireplumber" = {
     format = "<span foreground='#${color4}'>VOL</span> {volume}%";
     format-muted = "<span foreground='#${color4}'>VOL</span> 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 {