aboutsummaryrefslogtreecommitdiffstats
path: root/plugin-dev-workspace.kdl
diff options
context:
space:
mode:
authorDaniel Jankowski <Daniel.Jankowski@rub.de>2024-04-16 10:59:15 +0200
committerGitHub <noreply@github.com>2024-04-16 10:59:15 +0200
commit072392300409c11930cb07f56fab03eda2c24d4a (patch)
treea009352ec85fa705d239166873d14ef469b3fbea /plugin-dev-workspace.kdl
parentfix: toggle pane frames with floating panes (diff)
downloadsl0pstatus-072392300409c11930cb07f56fab03eda2c24d4a.tar.gz
sl0pstatus-072392300409c11930cb07f56fab03eda2c24d4a.tar.xz
sl0pstatus-072392300409c11930cb07f56fab03eda2c24d4a.zip
feat: remote control zjstatus with pipes (#48)
* chore: update to latest version of zellij * fix: deprecated functions in chrono * chore: update nix deps * chore: remove deprecated chrono functions * feat: add refresh via pipes with line protocol * fix: handle multiple lines in pipe * fix(clippy): char instead of str * feat: add notification widget * chore: update nix flake * chore: update cargo deps * chore: update cargo deps * chore: update nix flake * chore: clean up imports for tracing * chore: update nix flake * chore: update cargo deps * chore: update nix flake * chore: update cargo deps * chore: remove pinning of chrono Since chrono-tz now fixed the deprecations from chrono we can finally remove the pinning. * chore: update nix flake * chore: update cargo deps
Diffstat (limited to 'plugin-dev-workspace.kdl')
-rw-r--r--plugin-dev-workspace.kdl11
1 files changed, 7 insertions, 4 deletions
diff --git a/plugin-dev-workspace.kdl b/plugin-dev-workspace.kdl
index 8ebb6c0..76decc9 100644
--- a/plugin-dev-workspace.kdl
+++ b/plugin-dev-workspace.kdl
@@ -5,12 +5,15 @@ 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} "
+ 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_right "{notifications}{datetime}"
format_space "#[bg=#181825]"
- // foo
+ notification_format_unread "#[fg=#89B4FA,bg=#181825,blink]  #[fg=#89B4FA,bg=#181825] {message} "
+ notification_format_no_notifications "#[fg=#89B4FA,bg=#181825,dim]  "
+ notification_show_interval "10"
+
border_enabled "true"
border_char "─"
border_format "#[fg=#6C7086]{char}"
@@ -36,7 +39,7 @@ layout {
command_0_interval "1"
command_1_command "date"
- command_1_format "#[fg=blue,reverse,dashed-underscore,bg=default,us=red,blink,dim,strikethrough] {exit_code} {stdout} "
+ command_1_format "#[fg=blue,reverse,bg=default,us=red,blink,dim,strikethrough] {exit_code} {stdout} "
command_1_interval "1"
command_git_branch_command "git rev-parse --abbrev-ref HEAD"