MPD status changes

This commit is contained in:
Mahesh Asolkar 2024-09-29 13:27:00 -07:00
parent 0aa36e8575
commit 430064c8de

View File

@ -39,6 +39,7 @@ conky.config = {
--[[ For Somebar ]] --[[ For Somebar ]]
conky.text = [[ conky.text = [[
${if_existing /usr/local/bin/somebar}status${endif} \ ${if_existing /usr/local/bin/somebar}status${endif} \
${if_mpd_playing}𝄞 [${mpd_percent}] ${mpd_smart 50}${endif} \
💻 ${cpu}% \ 💻 ${cpu}% \
💾 ${memperc}% \ 💾 ${memperc}% \
${if_existing /sys/class/net/enp0s20f0u1u1u2/operstate up}🌎 ${addr enp0s20f0u1u1u2}${else}\ ${if_existing /sys/class/net/enp0s20f0u1u1u2/operstate up}🌎 ${addr enp0s20f0u1u1u2}${else}\
@ -49,7 +50,7 @@ ${if_existing /sys/class/net/wlp4s0/operstate up}📶 ${addr wlp4s0}${else}\
${if_up eth0}🌎 ${addr eth0}${else}\ ${if_up eth0}🌎 ${addr eth0}${else}\
network down ${endif}${endif}${endif}${endif}${endif}${endif} \ network down ${endif}${endif}${endif}${endif}${endif}${endif} \
${execi 600 curl 'wttr.in/~45.54,-122.83?u&format=%c%t'} \ ${execi 600 curl 'wttr.in/~45.54,-122.83?u&format=%c%t'} \
🔊 ${execi 10 wpctl get-volume 54 | tail -1 | perl -ne 'm/([\d\.]+)/; print scalar (($1>1) ? 100 : ($1*100))'} \ 🔊 ${execi 10 wpctl get-volume 53 | tail -1 | perl -ne 'm/([\d\.]+)/; print scalar (($1>1) ? 100 : ($1*100))'} \
${if_existing /sys/class/power_supply/ADP0/online 1}🔌${else}🔋${endif} ${battery_percent}% \ ${if_existing /sys/class/power_supply/ADP0/online 1}🔌${else}🔋${endif} ${battery_percent}% \
📅 ${time %Y %h %d} \ 📅 ${time %Y %h %d} \
🕑 ${time %I:%M%p %Z} 🕑 ${time %I:%M%p %Z}