5f3462240c
This adds the 'send' action to the ipc module that can be used to send arbitrary text to the module: polybar-msg action "#ipc.send.%{F#4444ff}hello%{F-}" * feat(ipc): allow receiving arbitrary text on IPC socket Instead of just allowing hook numbers to be executed, the user can send arbitrary text and the IPC module will put it in the bar. The IPC payload format is extended to accept an arbitrary string if the first character after the module name is ':'. polybar-msg hook test :'%{F#4444ff}hello%{F-}' Fix #2455 * Use actions for sending data to ipc module * ipc: Don't use exceptions when no hooks are defined * Update src/modules/ipc.cpp Co-authored-by: patrick96 <p.ziegler96@gmail.com> |
||
---|---|---|
.. | ||
_static | ||
dev | ||
man | ||
user | ||
.gitignore | ||
CMakeLists.txt | ||
conf.py | ||
index.rst | ||
README.md |
Polybar Manual
The official polybar documentation lives here.
The html documentation and man pages are built automatically when you build with cmake (cmake creates the custom
target doc
).
Preview Locally
The documentation uses Sphinx to generate the documentation, so you will need to have that installed.
If you build polybar normally while having Sphinx installed during configuration, the documentation will be enabled and
built as well. Building the documentation can be disabled by passing -DBUILD_DOC=OFF
to cmake
.
Once configured, all of the documentation can be generated with make doc
or use make doc_html
or make doc_man
to
only generate the html documentation or the man pages respectively.
The HTML documentation is in doc/html/index.html
in your build directory and the man pages are in doc/man
.