Update shell theme to better communicate the current path and git repo we're in
This commit is contained in:
parent
f704efc665
commit
2f3ac9861f
@ -4,6 +4,7 @@ final_space = true
|
|||||||
[palette]
|
[palette]
|
||||||
blue = '#8AADF4'
|
blue = '#8AADF4'
|
||||||
lavender = '#B7BDF8'
|
lavender = '#B7BDF8'
|
||||||
|
teal = '#8BD5CA'
|
||||||
os = '#ACB0BE'
|
os = '#ACB0BE'
|
||||||
pink = '#F5BDE6'
|
pink = '#F5BDE6'
|
||||||
text = '#494D64'
|
text = '#494D64'
|
||||||
@ -17,7 +18,8 @@ final_space = true
|
|||||||
leading_diamond = ''
|
leading_diamond = ''
|
||||||
template = '{{ .UserName }}@{{ .HostName }}'
|
template = '{{ .UserName }}@{{ .HostName }}'
|
||||||
foreground = 'p:text'
|
foreground = 'p:text'
|
||||||
powerline_symbol = ''
|
powerline_symbol = ''
|
||||||
|
trailing_diamond = ''
|
||||||
background = 'p:blue'
|
background = 'p:blue'
|
||||||
type = 'session'
|
type = 'session'
|
||||||
style = 'diamond'
|
style = 'diamond'
|
||||||
@ -25,13 +27,35 @@ final_space = true
|
|||||||
[blocks.segments.properties]
|
[blocks.segments.properties]
|
||||||
cache_duration = 'none'
|
cache_duration = 'none'
|
||||||
|
|
||||||
[[blocks.segments]]
|
[[blocks.segments]]
|
||||||
template = ' {{ .Path }}'
|
template = ' {{ .Segments.Git.RepoName }}'
|
||||||
foreground = 'p:text'
|
foreground = 'p:text'
|
||||||
powerline_symbol = ''
|
background = 'p:teal'
|
||||||
|
type = 'text'
|
||||||
|
style = 'diamond'
|
||||||
|
|
||||||
|
[blocks.segments.properties]
|
||||||
|
cache_duration = 'none'
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
template = '{{ if .Segments.Git.RepoName }}{{ if eq .Segments.Git.Dir .PWD }}./{{ else if contains "/" .Segments.Git.RelativeDir }}.//{{ .Folder }}{{ else }}./{{ .Folder }}{{ end }}{{ end }}'
|
||||||
|
foreground = 'p:text'
|
||||||
|
powerline_symbol = ''
|
||||||
|
background = 'p:pink'
|
||||||
|
type = 'text'
|
||||||
|
style = 'powerline'
|
||||||
|
|
||||||
|
[blocks.segments.properties]
|
||||||
|
cache_duration = 'none'
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
template = '{{ if not .Segments.Git.RepoName }} {{ .Path }}{{ end }}'
|
||||||
|
foreground = 'p:text'
|
||||||
|
powerline_symbol = ''
|
||||||
|
trailing_diamond = ''
|
||||||
background = 'p:pink'
|
background = 'p:pink'
|
||||||
type = 'path'
|
type = 'path'
|
||||||
style = 'powerline'
|
style = 'diamond'
|
||||||
|
|
||||||
[blocks.segments.properties]
|
[blocks.segments.properties]
|
||||||
cache_duration = 'none'
|
cache_duration = 'none'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user