|
|
|
@ -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"
|
|
|
|
|
}
|
|
|
|
|