diff options
author | jao <jao@gnu.org> | 2022-02-08 00:21:51 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-02-08 00:24:43 +0000 |
commit | e68c8f5ff1e3892add1bf4e240634ad33a154c84 (patch) | |
tree | d2eece40dcf2bcbdebd8ad17ab5a4abb85697f07 /readme.org | |
parent | 48dc39edaca5ff4e011ea9475fe8b75d24b5e4c4 (diff) | |
download | xmobar-e68c8f5ff1e3892add1bf4e240634ad33a154c84.tar.gz xmobar-e68c8f5ff1e3892add1bf4e240634ad33a154c84.tar.bz2 |
Documentation bits and version bump
Diffstat (limited to 'readme.org')
-rw-r--r-- | readme.org | 20 |
1 files changed, 16 insertions, 4 deletions
@@ -126,13 +126,14 @@ xmobar -TPlain /path/to/config & #+end_src - Other options are ~Ansi~ and ~Pango~. + Other options are ~Ansi~, ~Pango~, and ~Swaybar~. -*** Using xmobar in Wayland with swaybar +*** Using xmobar in Wayland with swaybar or waybar In text mode, xmobar can be told to ouput its information using - pango markup for colors, and it that way you can use it with - swaybar. Here's a minimal ~bar~ configuration for sway's + pango markup for colors and fonts, and it that way you can use it + with swaybar or waybar, if you don't have actions or boxes in your + template. Here's a minimal ~bar~ configuration for sway's configuration file: #+begin_src conf @@ -142,6 +143,17 @@ } #+end_src + In case you want to use boxes around text or click actions in your + template, you can use instead the format ~Swaybar~, which supports + both. This output format follows the JSON /swaybar-protocol/ + defined by swaybar. Configure it simply with: + + #+begin_src conf + bar { + status_command xmobar -TSwaybar + } + #+end_src + * Configuration and further Links - If you want to jump straight into configuring xmobar, head over to the |