aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorDaniel Jankowski <daniel.jankowski@rub.de>2024-02-27 17:37:28 +0100
committerDaniel Jankowski <daniel.jankowski@rub.de>2024-02-27 17:37:28 +0100
commit2d37d1bd28e92232541c8bff76eb3ddb7a42a0cc (patch)
treecc6e215b66c3e7b82027f8cc212be51af217a840 /examples
parentchore: add simple layout to examples (diff)
downloadsl0pstatus-2d37d1bd28e92232541c8bff76eb3ddb7a42a0cc.tar.gz
sl0pstatus-2d37d1bd28e92232541c8bff76eb3ddb7a42a0cc.tar.xz
sl0pstatus-2d37d1bd28e92232541c8bff76eb3ddb7a42a0cc.zip
chore: add compact example
Diffstat (limited to 'examples')
-rw-r--r--examples/compact.kdl24
-rw-r--r--examples/compact.pngbin0 -> 8648 bytes
2 files changed, 24 insertions, 0 deletions
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
new file mode 100644
index 0000000..2fc3362
--- /dev/null
+++ b/examples/compact.png
Binary files differ