From 08f656f9c7e51e7e06b2b2d7d05b8721b410765c Mon Sep 17 00:00:00 2001 From: Aravinda Rao Date: Thu, 15 Aug 2024 17:43:04 +0530 Subject: [PATCH] style: tweak some formatting in the docs --- README.md | 2 +- src/qtile_bonsai/widget.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 08939c6..e987d22 100644 --- a/README.md +++ b/README.md @@ -388,7 +388,7 @@ Click on the image to open a web view with the full guide. | Option Name | Default Value | Description | | --- | --- | --- | |`length` | 500 | The standard `length` property of qtile
widgets.

As usual, it can be a fixed integer, or
one of the 'special' bar constants:
`bar.CALCULATED` or `bar.STRETCH`. | -|`sync_with` | bonsai_on_same_screen | The Bonsai layout whose state should be
rendered on this widget.

Can be one of the following:
    - "bonsai_with_focus":
        The Bonsai layout of the window
        that is currently focused. This
        is relevant in a multi-screen
        setup - the widget will keep
        updating based on which screen's
        Bonsai layout has focus.
    - "bonsai_on_same_screen":
        The widget will stick to
        displaying the state of the
        Bonsai layout that is on the
        same screen as the widget's bar. | +|`sync_with` | bonsai_on_same_screen | The Bonsai layout whose state should be
rendered on this widget.

Can be one of the following:
    - `bonsai_with_focus`:
        The Bonsai layout of the window
        that is currently focused. This
        is relevant in a multi-screen
        setup - the widget will keep
        updating based on which screen's
        Bonsai layout has focus.
    - `bonsai_on_same_screen`:
        The widget will stick to
        displaying the state of the
        Bonsai layout that is on the
        same screen as the widget's bar. | |`bg_color` | None | Background color of the bar.
If None, the qtile-bar's' background
color is used. | |`font_family` | Mono | Font family to use for tab titles | |`font_size` | 15 | Size of the font to use for tab titles | diff --git a/src/qtile_bonsai/widget.py b/src/qtile_bonsai/widget.py index 393b964..dd57255 100644 --- a/src/qtile_bonsai/widget.py +++ b/src/qtile_bonsai/widget.py @@ -52,11 +52,11 @@ class BonsaiBar(base._Widget): The Bonsai layout whose state should be rendered on this widget. Can be one of the following: - - "bonsai_with_focus": + - `bonsai_with_focus`: The Bonsai layout of the window that is currently focused. This is relevant in a multi-screen setup - the widget will keep updating based on which screen's Bonsai layout has focus. - - "bonsai_on_same_screen": + - `bonsai_on_same_screen`: The widget will stick to displaying the state of the Bonsai layout that is on the same screen as the widget's bar. """,