From 1c5a78500377473f6cb0a8118f633e9c9b7b62a3 Mon Sep 17 00:00:00 2001 From: tobi-wan-kenobi Date: Tue, 5 May 2020 20:43:10 +0200 Subject: [PATCH] [doc] add code-block type --- docs/index.rst | 2 +- docs/introduction.rst | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index 428ee86..084a8fd 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -34,7 +34,7 @@ see :doc:`FAQ` for details on this Example usage: -.. code-block:: +.. code-block:: bash bar { status_command /bumblebee-status \ diff --git a/docs/introduction.rst b/docs/introduction.rst index 9b1fcf7..3bcd94b 100644 --- a/docs/introduction.rst +++ b/docs/introduction.rst @@ -4,7 +4,7 @@ Introduction Installation ---------------- -.. code-block:: +.. code-block:: bash # from git (development snapshot) @@ -35,7 +35,7 @@ Normal usage In your i3wm configuration, modify the *status_command* for your i3bar like this: -.. code-block:: +.. code-block:: bash bar { status_command \ @@ -47,7 +47,7 @@ like this: You can retrieve a list of modules (and their parameters) and themes by entering: -.. code-block:: +.. code-block:: bash $ cd bumblebee-status $ ./bumblebee-status -l themes @@ -55,27 +55,27 @@ entering: To change the update interval, use: -.. code-block:: +.. code-block:: bash $ ./bumblebee-status -m -p interval= The update interval can also be changed on a per-module basis, like this: -.. code-block:: +.. code-block:: bash $ ./bumblebee-status -m cpu memory -p cpu.interval=5s memory.interval=1m All modules can be given “aliases” using ``:``, by which they can be parametrized, for example: -.. code-block:: +.. code-block:: bash $ ./bumblebee-status -m disk:root disk:home -p root.path=/ home.path=/home As a simple example, this is what my i3 configuration looks like: -.. code-block:: +.. code-block:: bash bar { font pango:Inconsolata 10