Remove time from starship

This commit is contained in:
Tobias Reisinger 2023-06-02 20:25:05 +02:00
parent 5f45b74bd9
commit 704e16c6fe
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
2 changed files with 13 additions and 14 deletions

View file

@ -1,9 +1,8 @@
format = """
$time\
[](bg:purple fg:blue)\
[](fg:#454158 bg:blue)\
$username$hostname$docker_context\
$python$nix_shell\
[](bg:green fg:purple)\
[](bg:green fg:blue)\
$directory\
[](bg:red fg:green)\
$git_branch$git_state$git_status\
@ -43,7 +42,7 @@ style = "bg:green fg:black"
format = "[$read_only$path]($style)"
[docker_context]
style = "bg:purple fg:black"
style = "bg:blue fg:black"
symbol = ""
format = "[ $symbol$context]($style)"
@ -73,7 +72,7 @@ format = '[\[$all_status$ahead_behind\]]($style)'
[hostname]
ssh_only = false
style = "bg:purple fg:black"
style = "bg:blue fg:black"
format = "[@$hostname]($style)"
trim_at = ""
@ -84,13 +83,13 @@ symbol = ""
format = "[$symbol$number]($style)"
[nix_shell]
style = "bg:purple fg:black"
style = "bg:blue fg:black"
impure_msg = "-"
pure_msg = "+"
format = '[ \($state$name\)]($style)'
[python]
style = "bg:purple fg:black"
style = "bg:blue fg:black"
format = '[ \($virtualenv\)]($style)'
detect_extensions = []
detect_files = []
@ -106,7 +105,7 @@ format = '[$indicator]($style)'
disabled = false
[sudo]
style = "bg:purple fg:black"
style = "bg:blue fg:black"
symbol = ""
format = "[$symbol]($style)"
disabled = false
@ -118,11 +117,11 @@ format = "[$status]($style)"
[time]
disabled = false
style = "bg:blue fg:black"
style = "bg:purple fg:black"
format = "[$time]($style)"
[username]
show_always = true
style_user = "bg:purple fg:black"
style_root = "bg:purple fg:black underline"
style_user = "bg:blue fg:black"
style_root = "bg:blue fg:black underline"
format = "[$user]($style)"

View file

@ -8,6 +8,6 @@ then
gpgconf --launch gpg-agent >/dev/null
fi
#if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -le 3 ]; then
# exec $AUTOSTART_DISPLAY
#fi
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -le 2 ]; then
exec $AUTOSTART_DISPLAY
fi