aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDaniel Jankowski <daniel.jankowski@rub.de>2025-01-18 09:32:18 +0100
committerDaniel Jankowski <daniel.jankowski@rub.de>2025-01-18 09:34:07 +0100
commitf73635159598119a67533fda394e49830506cd85 (patch)
tree78f3c2b0052af68d4bdcd8b31e548af613d34814 /tests
parentchore: update cargo deps (diff)
downloadsl0pstatus-f73635159598119a67533fda394e49830506cd85.tar.gz
sl0pstatus-f73635159598119a67533fda394e49830506cd85.tar.xz
sl0pstatus-f73635159598119a67533fda394e49830506cd85.zip
feat: add pipe widget
Diffstat (limited to 'tests')
-rw-r--r--tests/zjstatus/layout.kdl5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/zjstatus/layout.kdl b/tests/zjstatus/layout.kdl
index 3d0ce51..2d64b82 100644
--- a/tests/zjstatus/layout.kdl
+++ b/tests/zjstatus/layout.kdl
@@ -1,6 +1,7 @@
layout {
pane split_direction="vertical" {
pane borderless=true
+ pane command="nvim"
}
pane size=2 borderless=true {
@@ -10,7 +11,7 @@ layout {
color_bg "#181825"
format_left "{mode}#[fg=$blue,bg=$bg,bold] {session}"
- format_center "{tabs} {command_3}"
+ format_center "{tabs} {command_3} {pipe_1}"
format_right "{notifications}{datetime}"
format_space "#[bg=$bg]"
format_precedence "lrc"
@@ -20,6 +21,8 @@ layout {
notification_format_no_notifications "#[fg=$blue,bg=$bg,dim]  "
notification_show_interval "10"
+ pipe_1_format "#[fg=red] {output}"
+
border_enabled "true"
border_char "─"
border_format "#[fg=#6C7086]{char}"