polybar-msg
Control
polybarusing inter-process-messaging (IPC). Note: IPC is disabled by default and can be enabled by settingenable-ipc = truein the Polybar config. More information: https://polybar.readthedocs.io/en/stable/user/ipc.html.
- Quit the bar:
polybar-msg cmd quit
- Restart the bar in-place:
polybar-msg cmd restart
- Hide the bar (does nothing if the bar is already hidden):
polybar-msg cmd hide
- Show the bar again (does nothing if the bar is not hidden):
polybar-msg cmd show
- Toggle between hidden/visible:
polybar-msg cmd toggle
- Execute a module action (the data string is optional):
polybar-msg action "#.."
- Only send messages to a specific Polybar instance (all instances by default):
polybar-msg -p
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
