]> git.mdlowis.com Git - proto/labwc.git/commitdiff
docs: labwc-config.5.scd: dedent windowSwitcher content lists
authorTomi Ollila <tomi.ollila@iki.fi>
Tue, 11 Feb 2025 06:14:07 +0000 (08:14 +0200)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Tue, 11 Feb 2025 14:35:06 +0000 (15:35 +0100)
fits better on 80-column terminal and is more consistent in style

docs/labwc-config.5.scd

index d9eb256111fbc4fa2710feda0efb8166b2081e5d..d0700ac70ad80d0df6efa647c5ea85e8c75658c3 100644 (file)
@@ -295,53 +295,56 @@ this is for compatibility with Openbox.
 
        *content* defines what the field shows and can be any of:
 
-               - *type* Show view type ("xdg-shell" or "xwayland")
-
-               - *identifier* Show identifier (app_id for native Wayland
-                 windows and WM_CLASS for XWayland clients)
-
-               - *trimmed_identifier* Show trimmed identifier. Trimming removes
-                 the first two nodes of 'org.' strings.
-
-               - *desktop_entry_name* Show application name from freedesktop.org desktop
-                 entry/file. Falls back to trimmed identifier (trimmed_identifier).
-
-               - *title* Show window title if different to app_id
-
-               - *workspace* Show workspace name
-
-               - *state* Show window state, M/m/F (max/min/full)
-
-               - *type_short* Show view type ("W" or "X")
-
-               - *output* Show output id, if more than one output detected
-
-               - *custom* A printf style config that can replace all the above
-                 fields are:
-                       - 'B' - shell type, values [xwayland|xdg-shell]
-                       - 'b' - shell type (short form), values [X|W]
-                       - 'S' - state of window, values [M|m|F] (3 spaces allocated)
-                               (maximized, minimized, fullscreen)
-                       - 's' - state of window (short form), values [M|m|F] (1 space)
-                       - 'I' - wm-class/app-id
-                       - 'i' - wm-class/app-id trimmed, remove "org." if available
-                       - 'n' - desktop entry/file application name, falls back to
-                               wm-class/app-id trimmed
-                       - 'W' - workspace name
-                       - 'w' - workspace name (if more than 1 ws configured)
-                       - 'O' - output name
-                       - 'o' - output name (show if more than 1 monitor active)
-                       - 'T' - title of window
-                       - 't' - title of window (if different than wm-class/app-id)
-                 Recommend using with a monospace font, to keep alignment.
-               - *custom - subset of printf options allowed -- man 3 printf*
-                       - random text may be inserted
-                       - field length, example "%10" use 10 spaces, even if text uses less
-                       - left justify text, example "%-"
-                       - right justify text, example "%" instead of "%-"
-                       - example, %-10 would left justify and make room for 10 characters
-               - Only one custom format allowed now. Future enhancements may
-                 allow more than one.
+       - *type* Show view type ("xdg-shell" or "xwayland")
+
+       - *identifier* Show identifier (app_id for native Wayland
+         windows and WM_CLASS for XWayland clients)
+
+       - *trimmed_identifier* Show trimmed identifier. Trimming removes
+         the first two nodes of 'org.' strings.
+
+       - *desktop_entry_name* Show application name from freedesktop.org
+         desktop entry/file. Falls back to trimmed identifier
+         (trimmed_identifier).
+
+       - *title* Show window title if different to app_id
+
+       - *workspace* Show workspace name
+
+       - *state* Show window state, M/m/F (max/min/full)
+
+       - *type_short* Show view type ("W" or "X")
+
+       - *output* Show output id, if more than one output detected
+
+       - *custom* A printf style config that can replace all the above
+         fields are:
+               - 'B' - shell type, values [xwayland|xdg-shell]
+               - 'b' - shell type (short form), values [X|W]
+               - 'S' - state of window, values [M|m|F] (3 spaces allocated)
+                       (maximized, minimized, fullscreen)
+               - 's' - state of window (short form), values [M|m|F] (1 space)
+               - 'I' - wm-class/app-id
+               - 'i' - wm-class/app-id trimmed, remove "org." if available
+               - 'n' - desktop entry/file application name, falls back to
+                       wm-class/app-id trimmed
+               - 'W' - workspace name
+               - 'w' - workspace name (if more than 1 ws configured)
+               - 'O' - output name
+               - 'o' - output name (show if more than 1 monitor active)
+               - 'T' - title of window
+               - 't' - title of window (if different than wm-class/app-id)
+         Recommend using with a monospace font, to keep alignment.
+       - *custom - subset of printf options allowed -- man 3 printf*
+               - random text may be inserted
+               - field length, example "%10" use 10 spaces, even if text uses
+                 less
+               - left justify text, example "%-"
+               - right justify text, example "%" instead of "%-"
+               - example, %-10 would left justify and make room for 10
+                 characters
+       - Only one custom format allowed now. Future enhancements may
+         allow more than one.
 
        *width* defines the width of the field expressed as a percentage of
        the overall window switcher width. The "%" character is required.
@@ -717,7 +720,8 @@ extending outward from the snapped edge.
        - Iconify: A button that, by default, iconifies a window.
        - Maximize: A button that, by default, toggles maximization of a window.
        - Shade: A button that, by default, toggles window shading.
-       - AllDesktops: A button that, by default, toggles omnipresence of a window.
+       - AllDesktops: A button that, by default, toggles omnipresence of a
+         window.
        - Close: A button that, by default, closses a window.
        - Top: The top edge of the window's border.
        - Bottom: The bottom edge of the window's border.