aboutsummaryrefslogtreecommitdiffstats
path: root/plugin-dev-workspace.kdl
diff options
context:
space:
mode:
authorDaniel Jankowski <daniel.jankowski@rub.de>2023-08-31 22:35:27 +0200
committerDaniel Jankowski <daniel.jankowski@rub.de>2023-08-31 22:35:27 +0200
commitea771fca01837e6f6ee390189360205c0ac0f3ea (patch)
tree7fc4ef8aa27ce8a706a36af1459c08759ebb7ef1 /plugin-dev-workspace.kdl
parentfix: crash on tab creation (diff)
downloadsl0pstatus-ea771fca01837e6f6ee390189360205c0ac0f3ea.tar.gz
sl0pstatus-ea771fca01837e6f6ee390189360205c0ac0f3ea.tar.xz
sl0pstatus-ea771fca01837e6f6ee390189360205c0ac0f3ea.zip
feat: add session plugin
Diffstat (limited to 'plugin-dev-workspace.kdl')
-rw-r--r--plugin-dev-workspace.kdl10
1 files changed, 4 insertions, 6 deletions
diff --git a/plugin-dev-workspace.kdl b/plugin-dev-workspace.kdl
index 5577c92..2037066 100644
--- a/plugin-dev-workspace.kdl
+++ b/plugin-dev-workspace.kdl
@@ -1,13 +1,11 @@
layout {
pane split_direction="vertical" {
- pane edit="src/main.rs"
- pane command="fish" {
- }
+ pane
}
pane size=1 borderless=true {
plugin location="file:target/wasm32-wasi/debug/zjstatus.wasm" {
- format_left "{mode} {tabs}"
+ format_left "{mode} #[fg=#89B4FA,bold]{session} {tabs}"
format_right "{datetime}"
mode_normal "#[bg=#89B4FA] "
@@ -16,8 +14,8 @@ layout {
tab_normal "#[fg=#6C7086] {name} "
tab_active "#[fg=#9399B2,bold,italic] {name} "
- datetime "#[fg=#6C7086] {format} "
- datetime_format "%H:%M"
+ datetime "#[fg=#6C7086,bold] {format} "
+ datetime_format "%A, %d %b %Y %H:%M"
}
}
}