Polybar: Update A Module When Told To Update (Polybar-Msg)

Subscribers:
102,000
Published on ● Video Link: https://www.youtube.com/watch?v=4yxlkuAMZJM



Category:
Vlog
Duration: 19:39
4,794 views
130


One of the easiest pieces of optimisation to be made to your Polybar is to switch some of your interval based modules over to being modules which update when told to update. In i3blocks this was done through signals but within Polybar this is done through polybar-msg and ipc. Most of the module definition is identical to when defining regular modules including things such as the formatting but the main difference comes when defining how a module should be updated. This could be used for things such as your volume control which will only update when you change your volume or a list of the number of package updates available which updates whenever you query for new updates.

💖 Subscribe and ding the bell for more videos!
👍 Leave a like if you got something out of this video!
✍ Comment some video feedback or what you want to see next time!

==========Resources==========
Polybar IPC:
https://github.com/polybar/polybar/wiki/Module:-ipc

Polybar Inter Process Messaging:
https://github.com/polybar/polybar/wiki/Inter-process-messaging

==========Support The Channel==========
Patreon:
https://www.patreon.com/brodierobertson

Paypal:
paypal.me/BrodieRobertsonVideo

BTC Wallet Address:
1Aokiv3pFQXUEmh2LbzZQAwxMvq6bpT2UN

ETH Wallet Address:
0x80451867c86bdf08c3888d407c1e3fcb6add61ed

LBC Wallet Address:
bLRN9fm17sCexKfgbYqmMj5xskZF2ogpEh

==========My Links==========
LBRY Referral:
https://api.lbry.com/user/refer?r=3jiXsRmYEV9vZEtETdEFzibFzWuwLhJc

🎥 LBRY:
lbry://@BrodieRobertson#5

Discord:
https://discord.gg/PkMRVn9

🐦 Twitter:
https://twitter.com/BrodieOnYoutube

🌐 Mastodon:
https://mastodon.social/@BrodieOnYoutube

🖥️ GitHub:
https://github.com/BrodieRobertson

==========Credits==========
🎵 Opening music
Full Power by ZAYFALL https://soundcloud.com/zayfallmusic
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
Free Download / Stream: https://bit.ly/_full-power
Music promoted by Audio Library https://youtu.be/vWuGCATLwxI

🎵 Ending music
Music from https://filmmusic.io
"Basic Implosion" by Kevin MacLeod (https://incompetech.com)
License: CC BY (http://creativecommons.org/licenses/by/4.0/)







Tags:
brodie robertson
polybar
define custom polybar module
custom polybar module
polybar module tutorial
formatting polybar
format polybar module
polybar custom module
custom module polybar
custom polybar module tutorial
polybar format module
polybar ipc
polybar format
polybar rice
polybar module
polybar config
polybar tutorial
luke smith
arch linux
linux
manjaro
polybar ipc module
polybar inter process communication
inter process messaging
polybar msg
i3