From 70c89479adf4d32ab96fd1c80736c4e20b16faa5 Mon Sep 17 00:00:00 2001 From: Mahesh Asolkar Date: Mon, 25 Dec 2023 11:33:35 -0800 Subject: [PATCH] Using Pipewire/Wireplumber for volume info --- user.conkyrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user.conkyrc b/user.conkyrc index 4bd06a7..b612626 100644 --- a/user.conkyrc +++ b/user.conkyrc @@ -46,7 +46,7 @@ ${if_existing /sys/class/net/wlp4s0/operstate up}📶 ${addr wlp4s0}${else}\ ${if_up eth0}🌎 ${addr eth0}${else}\ network down ${endif}${endif}${endif} \ ${execi 600 curl 'wttr.in/~45.54,-122.83?u&format=%c%t'} \ -🔊 ${execi 10 amixer get Master | tail -1 | sed 's/.*\[\([0-9]*%\)\].*/\1/'} \ +🔊 ${execi 10 wpctl get-volume 54 | tail -1 | perl -ne 'm/([\d\.]+)/; print scalar (($1>1) ? 100 : ($1*100))'} \ 🔋 ${battery_percent}% \ 📅 ${time %Y %h %d} \ 🕑 ${time %I:%M%p %Z}