aboutsummaryrefslogtreecommitdiffstats
path: root/plugin-dev-workspace.kdl
diff options
context:
space:
mode:
authorDaniel Jankowski <daniel.jankowski@rub.de>2024-02-23 11:01:09 +0100
committerDaniel Jankowski <daniel.jankowski@rub.de>2024-02-23 11:01:09 +0100
commit2f5f8fdbd9d0c78732c6293bc734474d79ae54f6 (patch)
tree2a1535ac041a969c246a4b3f5ea44770e4bb92c1 /plugin-dev-workspace.kdl
parentfeat(tabs): add configurable indicators for sync, fullscreen & floating (diff)
downloadsl0pstatus-2f5f8fdbd9d0c78732c6293bc734474d79ae54f6.tar.gz
sl0pstatus-2f5f8fdbd9d0c78732c6293bc734474d79ae54f6.tar.xz
sl0pstatus-2f5f8fdbd9d0c78732c6293bc734474d79ae54f6.zip
feat: add format_center
Diffstat (limited to 'plugin-dev-workspace.kdl')
-rw-r--r--plugin-dev-workspace.kdl7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugin-dev-workspace.kdl b/plugin-dev-workspace.kdl
index 068aa15..58131cc 100644
--- a/plugin-dev-workspace.kdl
+++ b/plugin-dev-workspace.kdl
@@ -5,8 +5,9 @@ layout {
pane size=2 borderless=true {
plugin location="file:target/wasm32-wasi/debug/zjstatus.wasm" {
- format_left "{mode} #[fg=#89B4FA,bg=#181825,bold]{session} {tabs} {command_0} {command_1} {command_git_branch} {command_3}"
- format_right "{datetime}"
+ format_left "{mode} #[fg=#89B4FA,bg=#181825,bold]{session} {tabs} "
+ format_center "{command_0} {command_1} {command_git_branch} {command_3}"
+ format_right "{tabs} {datetime}"
format_space "#[bg=#181825]"
// foo
@@ -24,7 +25,7 @@ layout {
tab_normal "#[fg=#6C7086,bg=#181825] {index} {name} {floating_indicator} "
tab_normal_fullscreen "#[fg=#6C7086,bg=#181825] {index} {name} [] "
tab_normal_sync "#[fg=#6C7086,bg=#181825] {index} {name} <> "
- tab_active "#[fg=#9399B2,bg=#181825,bold,italic] {index} {name} {floating_total_count} {floating_indicator} {sync_indicator} {fullscreen_indicator}"
+ tab_active "#[fg=#9399B2,bg=#181825,bold,italic] {index} {name} {floating_total_count}{floating_indicator}{sync_indicator}{fullscreen_indicator}"
tab_separator "#[fg=#6C7086,bg=#181825] | "
tab_floating_indicator "F"
tab_sync_indicator "S"