diff options
| author | Daniel Jankowski <daniel.jankowski@rub.de> | 2024-02-27 17:37:28 +0100 |
|---|---|---|
| committer | Daniel Jankowski <daniel.jankowski@rub.de> | 2024-02-27 17:37:28 +0100 |
| commit | 2d37d1bd28e92232541c8bff76eb3ddb7a42a0cc (patch) | |
| tree | cc6e215b66c3e7b82027f8cc212be51af217a840 | |
| parent | chore: add simple layout to examples (diff) | |
| download | sl0pstatus-2d37d1bd28e92232541c8bff76eb3ddb7a42a0cc.tar.gz sl0pstatus-2d37d1bd28e92232541c8bff76eb3ddb7a42a0cc.tar.xz sl0pstatus-2d37d1bd28e92232541c8bff76eb3ddb7a42a0cc.zip | |
chore: add compact example
| -rw-r--r-- | README.md | 3 | ||||
| -rw-r--r-- | examples/compact.kdl | 24 | ||||
| -rw-r--r-- | examples/compact.png | bin | 0 -> 8648 bytes |
3 files changed, 27 insertions, 0 deletions
@@ -27,6 +27,9 @@ <b><a href="./examples/swap-layouts.kdl">example for swapping layouts with zjstatus</a></b> <img src="./examples/swap-layouts.png" alt="example for swapping layouts with zjstatus" /> <br> +<b><a href="./examples/compact.kdl">compact style (thanks to @segaja)</a></b> +<img src="./examples/compact.png" alt="compact style bar" /> +<br> <b><a href="./examples/conky.kdl">conky status (thanks to @benzwt)</a></b> <a href="./examples/conky.conf">conky.conf</a> <img src="./examples/conky.png" alt="conky status" /> diff --git a/examples/compact.kdl b/examples/compact.kdl new file mode 100644 index 0000000..2c6fd9a --- /dev/null +++ b/examples/compact.kdl @@ -0,0 +1,24 @@ +layout { + pane split_direction="vertical" { + pane + } + + pane size=1 borderless=true { + plugin location="file:target/wasm32-wasi/debug/zjstatus.wasm" { + format_left "#[fg=#FFFFFF,bold] {session} {mode} {tabs}" + format_right "#[bg=#8A8A8A,fg=#000000] #[bg=#8A8A8A,fg=#000000,bold]{swap_layout} #[bg=#000000,fg=#8A8A8A]" + + mode_locked "#[fg=#FF00D9,bold] {name} " + mode_normal "#[fg=#AFFF00,bold] {name} " + mode_resize "#[fg=#D75F00,bold] {name} " + mode_default_to_mode "resize" + + tab_normal "#[bg=#8A8A8A,fg=#000000] #[bg=#8A8A8A,fg=#000000,bold]{name} {sync_indicator}{fullscreen_indicator}{floating_indicator} #[bg=#000000,fg=#8A8A8A]" + tab_active "#[bg=#AFFF00,fg=#000000] #[bg=#AFFF00,fg=#000000,bold]{name} {sync_indicator}{fullscreen_indicator}{floating_indicator} #[bg=#000000,fg=#AFFF00]" + + tab_sync_indicator " " + tab_fullscreen_indicator "□ " + tab_floating_indicator " " + } + } +} diff --git a/examples/compact.png b/examples/compact.png Binary files differnew file mode 100644 index 0000000..2fc3362 --- /dev/null +++ b/examples/compact.png |
