doc: Add page about default config

This commit is contained in:
patrick96 2023-04-03 19:26:58 +02:00 committed by Patrick Ziegler
parent f3c911991c
commit 30bb1584fc
2 changed files with 17 additions and 0 deletions

View File

@ -15,6 +15,7 @@ Welcome to the official polybar documentation.
user/actions user/actions
user/ipc user/ipc
user/modules/index user/modules/index
user/default-config
.. toctree:: .. toctree::
:maxdepth: 1 :maxdepth: 1

View File

@ -0,0 +1,16 @@
Default Configuration
=====================
.. versionadded:: 3.6.0
Polybar's default configuration lives in ``/etc/polybar/config.ini`` and is
loaded if no other configuration file can be found.
.. image:: ../_static/default.png
:alt: Screenshot of default polybar configuration
.. literalinclude:: ../config.ini
:language: ini
:linenos:
:caption: :download:`Download <../config.ini>`