From ea4f851d28658d41f563d01861e0e02969d408d0 Mon Sep 17 00:00:00 2001 From: Yash Karandikar Date: Mon, 14 Aug 2023 15:48:11 -0500 Subject: [PATCH] Use pulseaudio module instead of alsa module --- .config/polybar/nord-config | 2 +- .config/polybar/nord-top | 13 +++++-------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.config/polybar/nord-config b/.config/polybar/nord-config index 3fede83..b7cd10a 100644 --- a/.config/polybar/nord-config +++ b/.config/polybar/nord-config @@ -45,7 +45,7 @@ wm-restack = bspwm # Top modules bottom-left = powermenu title bluetooth redshift bottom-center = i3 -bottom-right = alsa battery date +bottom-right = pulseaudio battery date top-left = cpu memory diskusage backlight top-center = cava diff --git a/.config/polybar/nord-top b/.config/polybar/nord-top index df46f5d..bae226a 100644 --- a/.config/polybar/nord-top +++ b/.config/polybar/nord-top @@ -173,14 +173,8 @@ label-indicator-on-capslock-underline = ${colors.warning} ; Icons layout-icon-default =  -[module/alsa] -type = internal/alsa - -master-soundcard = ${config.master-soundcard} -speaker-soundcard = ${config.speaker-soundcard} -headphone-soundcard = ${config.headphone-soundcard} - -master-mixer = ${config.master-mixer} +[module/pulseaudio] +type=internal/pulseaudio ; Format format-volume = @@ -201,6 +195,9 @@ ramp-headphones-0 =  ramp-volume-foreground = ${colors.nord7} +click-right = pavucontrol + + [module/backlight] type = internal/backlight