CmdID

CmdID / Commands

polybar-msg

Control polybar using inter-process-messaging (IPC). tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

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.

Quit the bar

polybar-msg cmd quitIdentify

Restart the bar in-place

polybar-msg cmd restartIdentify

Hide the bar (does nothing if the bar is already hidden)

polybar-msg cmd hideIdentify

Show the bar again (does nothing if the bar is not hidden)

polybar-msg cmd showIdentify

Toggle between hidden/visible

polybar-msg cmd toggleIdentify

Execute a module action (the data string is optional)

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

Only send messages to a specific Polybar instance (all instances by default)

polybar-msg -p process_id cmd payloadIdentify