2023-06-28 20:48:01 +00:00
{
"$schema" : "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json" ,
"blocks" : [
{
"alignment" : "left" ,
"segments" : [
{
"background" : "p:lavender" ,
"foreground" : "p:black" ,
"leading_diamond" : "\ue0b6" ,
"properties" : {
"display_host" : false
} ,
"style" : "diamond" ,
2023-07-21 20:38:51 +00:00
"template" : " {{ if .SSHSession }}\udb80\udf18 {{ end }}{{ if .Env.IN_NIX_SHELL }}\udb84\udd05 {{ end }}{{ .UserName }}@{{ .HostName }} " ,
2023-06-28 20:48:01 +00:00
"trailing_diamond" : "\ue0b0" ,
"type" : "session"
} ,
{
"background" : "p:orange" ,
"foreground" : "p:black" ,
"powerline_symbol" : "\ue0b0" ,
"properties" : {
"home_icon" : "~" ,
"style" : "folder"
} ,
"style" : "powerline" ,
"template" : " \ue613 {{ path .Path .Location }} " ,
"type" : "path"
} ,
{
"background" : "p:green" ,
"background_templates" : [
"{{ if or (.Working.Changed) (.Staging.Changed) }}p:yellow{{ end }}" ,
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}p:red{{ end }}" ,
"{{ if gt .Ahead 0 }}#49416D{{ end }}" ,
"{{ if gt .Behind 0 }}#7A306C{{ end }}"
] ,
"foreground" : "p:black" ,
"foreground_templates" : [
"{{ if or (.Working.Changed) (.Staging.Changed) }}p:black{{ end }}" ,
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}p:white{{ end }}" ,
"{{ if gt .Ahead 0 }}p:white{{ end }}"
] ,
"powerline_symbol" : "\ue0b0" ,
"properties" : {
"branch_max_length" : 25 ,
"fetch_status" : true ,
"fetch_upstream_icon" : true ,
"github_icon" : "\uf408" ,
"git_icon" : "\ue702" ,
"upstream_icons" : {
"gitea.com" : "\udb83\udd9e" ,
"git.jojodev.com" : "\udb83\udd9e" ,
"codeberg.org" : "\ue2a6"
}
} ,
"style" : "powerline" ,
2024-10-22 00:31:03 +00:00
"template" : "{{ if not (glob \".jj\")}} {{ if .UpstreamURL }}{{ url .UpstreamIcon .UpstreamURL }} {{ end }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }} {{ end }}" ,
2023-06-28 20:48:01 +00:00
"type" : "git"
} ,
{
"background" : "p:blue" ,
"background_templates" : [
"{{ if gt .Code 0 }}p:red{{ end }}"
] ,
"foreground" : "p:black" ,
"leading_diamond" : "<transparent,background>\ue0b0</>" ,
"properties" : {
"always_enabled" : true
} ,
"style" : "diamond" ,
"template" : " {{ if gt .Code 0 }}\uf00d{{ else }}\uf00c{{ end }} " ,
"trailing_diamond" : "\ue0b4" ,
"type" : "exit"
}
] ,
"type" : "prompt"
}
] ,
2023-09-06 20:30:43 +00:00
"console_title_template" : "{{ .Folder }}" ,
2023-06-28 20:48:01 +00:00
"final_space" : true ,
"palette" : {
"black" : "#1E1E1E" ,
"blue" : "#89B4FA" ,
"green" : "#A6E3A1" ,
"orange" : "#FAB387" ,
"red" : "#F38BA8" ,
"white" : "#CDD6F4" ,
"yellow" : "#F9E2AF" ,
"lavender" : "#B4BEFE"
} ,
"version" : 2
}