aboutsummaryrefslogtreecommitdiffstats
path: root/plugin-dev-workspace.kdl
diff options
context:
space:
mode:
authorDaniel Jankowski <daniel.jankowski@rub.de>2024-07-15 16:16:46 +0200
committerDaniel Jankowski <daniel.jankowski@rub.de>2024-07-15 16:16:46 +0200
commit68d8d4998547e859527ad7aa7112d09ee74f0fbb (patch)
tree117f770a008eb44099410c7378d2770122f30895 /plugin-dev-workspace.kdl
parentchore: update cargo deps (diff)
downloadsl0pstatus-68d8d4998547e859527ad7aa7112d09ee74f0fbb.tar.gz
sl0pstatus-68d8d4998547e859527ad7aa7112d09ee74f0fbb.tar.xz
sl0pstatus-68d8d4998547e859527ad7aa7112d09ee74f0fbb.zip
feat: add color aliases
closes #75
Diffstat (limited to 'plugin-dev-workspace.kdl')
-rw-r--r--plugin-dev-workspace.kdl38
1 files changed, 21 insertions, 17 deletions
diff --git a/plugin-dev-workspace.kdl b/plugin-dev-workspace.kdl
index ff08575..0da48e4 100644
--- a/plugin-dev-workspace.kdl
+++ b/plugin-dev-workspace.kdl
@@ -5,15 +5,19 @@ layout {
pane size=2 borderless=true {
plugin location="file:target/wasm32-wasi/debug/zjstatus.wasm" {
- format_left "{mode}#[fg=#89B4FA,bg=#181825,bold] {session}"
- format_center "{tabs}"
+ color_blue "#89B4FA"
+ color_yellow "yellow"
+ color_bg "#181825"
+
+ format_left "{mode}#[fg={blue},bg={bg},bold] {session}"
+ format_center "{tabs} {command_3}"
format_right "{datetime}"
- format_space "#[bg=#181825]"
+ format_space "#[bg={bg}]"
format_precedence "lrc"
format_hide_on_overlength "false"
- notification_format_unread "#[fg=#89B4FA,bg=#181825,blink]  #[fg=#89B4FA,bg=#181825] {message} "
- notification_format_no_notifications "#[fg=#89B4FA,bg=#181825,dim]  "
+ notification_format_unread "#[fg={blue},bg={bg},blink]  #[fg={blue},bg={bg}] {message} "
+ notification_format_no_notifications "#[fg={blue},bg={bg},dim]  "
notification_show_interval "10"
border_enabled "true"
@@ -26,22 +30,22 @@ layout {
hide_frame_for_single_pane "true"
- mode_normal "#[bg=blue] #[bg=yellow] "
- mode_tmux "#[bg=yellow] "
+ mode_normal "#[bg={blue}] #[bg={yellow}] "
+ mode_tmux "#[bg={yellow}] "
mode_default_to_mode "tmux"
- tab_normal "#[fg=#6C7086,bg=#181825] {index} {name} {floating_indicator} "
- tab_rename "#[fg=#eba0ac,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_separator "#[fg=#6C7086,bg=#181825] | "
+ tab_normal "#[fg=#6C7086,bg={bg}] {index} {name} {floating_indicator} "
+ tab_rename "#[fg=#eba0ac,bg={bg}] {index} {name} {floating_indicator} "
+ tab_normal_fullscreen "#[fg=#6C7086,bg={bg}] {index} {name} [] "
+ tab_normal_sync "#[fg=#6C7086,bg={bg}] {index} {name} <> "
+ tab_active "#[fg=#9399B2,bg={bg},bold,italic] {index} {name} {floating_total_count}{floating_indicator}{sync_indicator}{fullscreen_indicator}"
+ tab_separator "#[fg=#6C7086,bg={bg}] | "
tab_floating_indicator "F"
tab_sync_indicator "S"
tab_fullscreen_indicator "FS"
tab_display_count "3"
- tab_truncate_start_format "#[fg=red,bg=#181825] < +{count} ..."
- tab_truncate_end_format "#[fg=red,bg=#181825] ... +{count} >"
+ tab_truncate_start_format "#[fg=red,bg={bg}] < +{count} ..."
+ tab_truncate_end_format "#[fg=red,bg={bg}] ... +{count} >"
command_0_command "echo \"平仮名, ひらがな 📦\""
command_0_clickaction "bash -c \"zellij --session zjstatus-dev pipe 'zjstatus::notify::hello world!' -n zjstatus\""
@@ -61,12 +65,12 @@ layout {
command_git_branch_format "#[fg=red] {stdout} "
command_git_branch_interval "2"
- command_3_command "echo -e \"#[italic,bold] foo #[dim,bold,italic] bar \""
+ command_3_command "echo -e \"#[fg={yellow},italic,bold] foo #[dim,bold,italic] bar \""
command_3_format "{stdout}"
command_3_interval "10"
command_3_rendermode "dynamic"
- datetime "#[fg=#6C7086,bg=#181825,bold] {format} #[bg=#6C7086,fg=#181825,bold] {time}"
+ datetime "#[fg=#6C7086,bg={bg},bold] {format} #[bg=#6C7086,fg={bg},bold] {time}"
datetime_time_format "%H:%M:%S"
datetime_format "%A, %d %b %Y %H:%M"
datetime_timezone "Europe/Berlin"