From 657d49d1589c8729d249e624ebc825ab5c161097 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 31 Jan 2026 01:57:17 -0600 Subject: fix(waybar): switch to pulseaudio module and unify colors - Replace wireplumber module with pulseaudio for reliable volume display - Make all module text colors consistent (#969385) - Add idle_inhibitor to styled modules - Add wf-recorder package to archsetup for screen recording --- dotfiles/hyprland/.config/waybar/config | 13 +++++++------ dotfiles/hyprland/.config/waybar/style.css | 12 +++--------- 2 files changed, 10 insertions(+), 15 deletions(-) (limited to 'dotfiles') diff --git a/dotfiles/hyprland/.config/waybar/config b/dotfiles/hyprland/.config/waybar/config index 676f040..7853326 100644 --- a/dotfiles/hyprland/.config/waybar/config +++ b/dotfiles/hyprland/.config/waybar/config @@ -15,7 +15,7 @@ "modules-right": [ "group/sysmonitor", "custom/netspeed", - "wireplumber", + "pulseaudio", "idle_inhibitor", "tray", "clock" @@ -118,13 +118,14 @@ } }, - "wireplumber": { - "format": "󰕾 {volume}%", + "pulseaudio": { + "format": "{icon} {volume}%", "format-muted": "󰝟 Muted", - "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle", + "format-icons": {"default": ["󰕿", "󰖀", "󰕾"]}, + "on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle", "on-click-right": "toggle-scratchpad audio", - "on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+", - "on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-" + "on-scroll-up": "pactl set-sink-volume @DEFAULT_SINK@ +5%", + "on-scroll-down": "pactl set-sink-volume @DEFAULT_SINK@ -5%" }, "idle_inhibitor": { diff --git a/dotfiles/hyprland/.config/waybar/style.css b/dotfiles/hyprland/.config/waybar/style.css index 18ba0f1..20d6a99 100644 --- a/dotfiles/hyprland/.config/waybar/style.css +++ b/dotfiles/hyprland/.config/waybar/style.css @@ -52,7 +52,8 @@ window#waybar { #custom-disk, #custom-netspeed, #battery, -#wireplumber, +#pulseaudio, +#idle_inhibitor, #tray, #clock, #custom-layout, @@ -75,20 +76,13 @@ window#waybar { #memory:hover, #custom-disk:hover, #custom-netspeed:hover, -#wireplumber:hover, +#pulseaudio:hover, #sysmonitor:hover, #custom-layout:hover { background-color: #474544; border-radius: 1rem; } -#clock { - color: #f0fef0; -} - -#wireplumber { - color: #969385; -} #custom-netspeed.disconnected { color: #d47c59; -- cgit v1.2.3