From 559d3874d638cb0c885a8c4b09eb8acf8bc5e088 Mon Sep 17 00:00:00 2001 From: Julius Riegel Date: Wed, 20 Mar 2024 17:34:59 +0100 Subject: [PATCH] Add icons to zellij status bar --- content/config/nushell/config.nu.tmpl | 2 +- content/config/zellij/development.kdl.tmpl | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/content/config/nushell/config.nu.tmpl b/content/config/nushell/config.nu.tmpl index 2871b03..31390fb 100644 --- a/content/config/nushell/config.nu.tmpl +++ b/content/config/nushell/config.nu.tmpl @@ -126,7 +126,7 @@ $env.config = { color_config: $dark_theme # if you want a light theme, replace `$dark_theme` to `$light_theme` footer_mode: "25" # always, never, number_of_rows, auto float_precision: 2 - # buffer_editor: "emacs" # command that will be used to edit the current line buffer with ctrl+o, if unset fallback to $env.EDITOR and $env.VISUAL + buffer_editor: "hx" # command that will be used to edit the current line buffer with ctrl+o, if unset fallback to $env.EDITOR and $env.VISUAL use_ansi_coloring: true edit_mode: emacs # emacs, vi shell_integration: true # enables terminal markers and a workaround to arrow keys stop working issue diff --git a/content/config/zellij/development.kdl.tmpl b/content/config/zellij/development.kdl.tmpl index 43c5900..7c64bfa 100644 --- a/content/config/zellij/development.kdl.tmpl +++ b/content/config/zellij/development.kdl.tmpl @@ -21,26 +21,26 @@ layout { tab_active_sync "#[fg=#9399B2,bg=#181825,bold,italic] {index} {name} <> " command_git_branch_command "git rev-parse --abbrev-ref HEAD" - command_git_branch_format "#[fg=#181825,bg=blue] {stdout} " + command_git_branch_format "#[fg=#181825,bg=blue] {stdout} " command_git_branch_interval "10" command_git_branch_rendermode "static" command_pwd_command "nu -c '$env.PWD | path relative-to $env.HOME'" - command_pwd_format "#[fg=#ffffff,bg=#4b0082] {stdout} " + command_pwd_format "#[fg=#ffffff,bg=#4b0082] {stdout} " command_pwd_interval "1" command_pwd_interval "static" command_cpuusage_command "nu -c 'sys | get cpu | get cpu_usage | math avg | math round -p 2 | $\"($in) %\"'" - command_cpuusage_format "#[fg=#181825,bg=cyan] {stdout} " + command_cpuusage_format "#[fg=#181825,bg=cyan] {stdout} " command_cpuusage_interval "10" command_cpuusage_interval "static" command_memusage_command "nu -c 'sys | get mem.used'" - command_memusage_format "#[fg=#181825,bg=green] {stdout} " + command_memusage_format "#[fg=#181825,bg=green] {stdout} " command_memusage_interval "10" command_memusage_interval "static" - datetime "#[fg=#181825,bg=#b1bbfa] {format} " + datetime "#[fg=#181825,bg=#b1bbfa] {format} " datetime_format "%A, %d %b %Y %H:%M" datetime_timezone "Europe/Berlin" }