summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Verevkin <maxxverrr@gmail.com>2022-04-01 22:29:39 +0300
committerMax Verevkin <maxxverrr@gmail.com>2022-04-01 22:29:39 +0300
commit4ee395c7375a3507f6d7651eb6d8e9430d8113eb (patch)
treef07bd82a788d4abe844e907ce964a151e76390f6
parentd0d73af3524e4c5058a1524bb4d357df13c3610b (diff)
downloadi3bar-mango-4ee395c7375a3507f6d7651eb6d8e9430d8113eb.tar.gz
readme
-rw-r--r--README.md41
1 files changed, 41 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..44154c3
--- /dev/null
+++ b/README.md
@@ -0,0 +1,41 @@
+# i3bar-river
+
+This is a port of `i3bar` for [river](https://github.com/riverwm/river).
+
+## Warning
+
+It works on my machineā„¢, but this program is in early stage of development.
+
+## i3bar compatibility
+
+Full compatibility is desired, but right now not everything is implemented.
+
+I've tested [`i3status-rs`](https://github.com/greshake/i3status-rust) and [`bumblebee-status`](https://github.com/tobi-wan-kenobi/bumblebee-status) and everything seems usable.
+
+A list of things that are missing (for now):
+- `short_text`
+- `border[_top|_right|_bottom|_left]`
+- Click events lack some info (IDK if anyone actually relies on `x`, `y`, `width`, etc.)
+- Multiple seat support (river doesn't support this either, so it's fine for now)
+- The JSON parsing implementation is not "streaming": all blocks should be on the same line
+
+## Configuration
+
+The configuration file should be stored in `$XDG_CONFIG_HOME/i3bar-river/config.toml` or `~/.config/i3bar-river/config.toml`.
+
+Example configuration (everything except for `command` is optional):
+
+```toml
+background = "#282828"
+color = "#ffffff"
+separator = "#9a8a62"
+tag_fg = "#d79921"
+tag_bg = "#282828"
+tag_focused_fg = "#1d2021"
+tag_focused_bg = "#689d68"
+tag_urgent_fg = "#282828"
+tag_urgent_bg = "#cc241d"
+font = "JetBrainsMono Nerd Font 10"
+height = 20
+command = "~/i3status-rust/target/debug/i3status-rs"
+```