wip
This commit is contained in:
parent
9a6accbb32
commit
2f2e83d196
1 changed files with 100 additions and 0 deletions
100
clean-info.toml
Normal file
100
clean-info.toml
Normal file
|
@ -0,0 +1,100 @@
|
|||
"$schema" = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json"
|
||||
final_space = true
|
||||
version = 3
|
||||
|
||||
[[blocks]]
|
||||
alignment = "left"
|
||||
newline = true
|
||||
type = "prompt"
|
||||
|
||||
[[blocks.segments]]
|
||||
foreground = "#fc71a7"
|
||||
style = "plain"
|
||||
template = "[{{ .CurrentDate | date .Format }}]"
|
||||
type = "time"
|
||||
|
||||
[blocks.segments.properties]
|
||||
time_format = "15:04"
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "shell"
|
||||
style = "plain"
|
||||
foreground = "#6c5dbe"
|
||||
template = " {{ .Name }}"
|
||||
|
||||
[blocks.segments.properties.mapped_shell_names]
|
||||
pwsh = "Shell"
|
||||
powershell = "Shell"
|
||||
cmd = "Cmd"
|
||||
bash = "Bash"
|
||||
|
||||
[[blocks.segments]]
|
||||
foreground = "#b5daa4"
|
||||
foreground_templates = [
|
||||
"{{ if or (.Working.Changed) (.Staging.Changed) }}#f7c5a1{{ end }}",
|
||||
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#d04a39{{ end }}",
|
||||
"{{ if gt .Ahead 0 }}#B388FF{{ end }}",
|
||||
"{{ if gt .Behind 0 }}#B388FF{{ end }}"
|
||||
]
|
||||
style = "plain"
|
||||
template = " {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} {{ .StashCount }}{{ end }} "
|
||||
type = "git"
|
||||
|
||||
[blocks.segments.properties]
|
||||
branch_template = "{{ trunc 25 .Branch }}"
|
||||
fetch_stash_count = true
|
||||
fetch_status = true
|
||||
fetch_upstream_icon = true
|
||||
|
||||
[[blocks]]
|
||||
alignment = "right"
|
||||
type = "prompt"
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "status"
|
||||
style = "plain"
|
||||
foreground = "#b8ff75"
|
||||
foreground_templates = [ "{{ if gt .Code 0 }}#E06C75{{ end }}" ]
|
||||
template = " x{{ reason .Code }}"
|
||||
|
||||
[[blocks.segments]]
|
||||
foreground = "#b8ff75"
|
||||
foreground_templates = [ "{{ if gt .Code 0 }}#E06C75{{ end }}" ]
|
||||
style = "diamond"
|
||||
template = " {{ .FormattedMs }} "
|
||||
type = "executiontime"
|
||||
|
||||
[blocks.segments.properties]
|
||||
style = "roundrock"
|
||||
always_enabled = true
|
||||
|
||||
[[blocks]]
|
||||
alignment = "left"
|
||||
newline = true
|
||||
type = "prompt"
|
||||
|
||||
[[blocks.segments]]
|
||||
foreground = "#fcadc4"
|
||||
style = "plain"
|
||||
template = " {{ .Path }}"
|
||||
type = "path"
|
||||
|
||||
[blocks.segments.properties]
|
||||
style = "full"
|
||||
|
||||
[[blocks]]
|
||||
alignment = "left"
|
||||
newline = true
|
||||
type = "prompt"
|
||||
|
||||
[[blocks.segments]]
|
||||
foreground = "#E06C75"
|
||||
style = "plain"
|
||||
template = "!"
|
||||
type = "root"
|
||||
|
||||
[[blocks.segments]]
|
||||
foreground = "#6c5dbe"
|
||||
style = "plain"
|
||||
template = "❯"
|
||||
type = "text"
|
Loading…
Add table
Add a link
Reference in a new issue