polybar-msg

Control polybar using inter-process-messaging (IPC). Note: IPC is disabled by default and can be enabled by setting enable-ipc = true in the Polybar config. More information: https://polybar.rtfd.io/en/stable/user/ipc.html.

polybar-msg cmd quit

polybar-msg cmd restart

polybar-msg cmd hide

polybar-msg cmd show

polybar-msg cmd toggle

polybar-msg action "#module_name.action_name.data_string"

polybar-msg -p pid cmd|action payload