feat: add status

This commit is contained in:
Kitty Fangs 2024-05-05 21:22:19 +00:00
parent feb8989198
commit 0b822457e8
2 changed files with 11 additions and 3 deletions

View File

@ -21,7 +21,7 @@ HISTCONTROL=ignoreboth
# append to the history file, don't overwrite it # append to the history file, don't overwrite it
shopt -s histappend shopt -s histappend
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1) # for setting history length see HISTSIZE and HISTFgitILESIZE in bash(1)
# HISTSIZE=1000 # HISTSIZE=1000
# HISTFILESIZE=2000 # HISTFILESIZE=2000

View File

@ -23,6 +23,7 @@ $scala\
[](fg:#00334e bg:#ff0080)\ [](fg:#00334e bg:#ff0080)\
$docker_context\ $docker_context\
[](fg:#ff0080 bg:#47225e)\ [](fg:#ff0080 bg:#47225e)\
$status\
$time\ $time\
[ ](fg:#47225e)\ [ ](fg:#47225e)\
\r\n[󰫍 ](fg:#00ffff)\ \r\n[󰫍 ](fg:#00ffff)\
@ -44,7 +45,8 @@ disabled = false
# represents the current operating system # represents the current operating system
[os] [os]
style = "bg:#47225e" style = "bg:#47225e"
disabled = false # Disabled by default disabled = false
[directory] [directory]
style = "bg:#ff0080" style = "bg:#ff0080"
@ -143,4 +145,10 @@ format = '[ $symbol ($version) ]($style)'
disabled = false disabled = false
time_format = "%R" # Hour:Minute Format time_format = "%R" # Hour:Minute Format
style = "bg:#47225e" style = "bg:#47225e"
format = '[ ♥ $time ]($style)' format = '[ $time ]($style)'
[status]
style = 'bg:#47225e'
format = '[\[$symbol$common_meaning$signal_name$maybe_int\]]($style) '
map_symbol = true
disabled = false