summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--changelog.md4
-rw-r--r--readme.org20
-rw-r--r--xmobar.cabal2
3 files changed, 20 insertions, 6 deletions
diff --git a/changelog.md b/changelog.md
index 5ef94e0..4af1372 100644
--- a/changelog.md
+++ b/changelog.md
@@ -3,7 +3,9 @@
_New features_
- New text mode (thanks to Pavel Kagulin, see issue #601), with
- output formats compatible with color terminals and sway.
+ output formats compatible with color terminals and pango.
+ - New text mode with format following swaybar-protocol, supporting
+ colors, faces, boxes and actions.
## Version 0.41 (January, 2022)
diff --git a/readme.org b/readme.org
index a4f4f9e..179063e 100644
--- a/readme.org
+++ b/readme.org
@@ -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
diff --git a/xmobar.cabal b/xmobar.cabal
index f37f931..5f4b6d4 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -1,5 +1,5 @@
name: xmobar
-version: 0.41
+version: 0.42
homepage: https://github.com/jaor/xmobar
synopsis: A Minimalistic Text Based Status Bar
description: Xmobar is a minimalistic text based status bar.