aboutsummaryrefslogtreecommitdiffstats
path: root/plugin-dev-workspace.kdl
diff options
context:
space:
mode:
authorDaniel Jankowski <daniel.jankowski@rub.de>2023-08-31 19:47:42 +0200
committerDaniel Jankowski <daniel.jankowski@rub.de>2023-08-31 19:47:42 +0200
commit9756c19ab3272dc5e81db4f16ed6bc3e5ad46675 (patch)
treec541f61c91896c916d8e0c4025fb547bcd4d2921 /plugin-dev-workspace.kdl
parentchore: remove format suffix from config (diff)
downloadsl0pstatus-9756c19ab3272dc5e81db4f16ed6bc3e5ad46675.tar.gz
sl0pstatus-9756c19ab3272dc5e81db4f16ed6bc3e5ad46675.tar.xz
sl0pstatus-9756c19ab3272dc5e81db4f16ed6bc3e5ad46675.zip
feat: add left + right widgets + date widget
Diffstat (limited to 'plugin-dev-workspace.kdl')
-rw-r--r--plugin-dev-workspace.kdl10
1 files changed, 7 insertions, 3 deletions
diff --git a/plugin-dev-workspace.kdl b/plugin-dev-workspace.kdl
index 1dce010..07a04c9 100644
--- a/plugin-dev-workspace.kdl
+++ b/plugin-dev-workspace.kdl
@@ -11,13 +11,17 @@ layout {
}
pane expanded=true {
plugin location="file:target/wasm32-wasi/debug/zjstatus.wasm" {
- format "#[bold,italic]{mode} #[fg=255] :: {tabs} {space} #[fg=255,bg=0] {date} "
+ format_left "#[bold,italic]{mode} #[fg=255] :: {tabs}"
+ format_right "#[fg=255,bg=0] {clock} "
mode_normal "#[fg=0,bg=3]>> {name} <<"
mode_tmux "#[fg=255,bg=0]>> tmux <<"
- tab_normal "#[fg=255,bg=0] {name}"
- tab_active "#[fg=255,bg=0,bold] {name}"
+ tab_normal "#[fg=255,bg=0] {name}"
+ tab_active "#[fg=255,bg=0,bold] {name}"
+
+ clock "#[fg=255] {time} "
+ clock_format "%H:%M"
}
}
}