dotfiles/.config/theme/quick-term.omp.json

138 lines
4.0 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"palette": {
"text": "#ffffff",
"darktext": "#6e738d",
"blue": "#8aadf4",
"lavender": "#b7bdf8",
"mauve": "#c6a0f6",
"green": "#a6da95",
"maroon": "#ee99a0",
"grey": "#e4e4e4",
"ahead": "#54433a"
},
"blocks": [
{
"alignment": "left",
"newline": true,
"segments": [
{
"background": "p:mauve",
"foreground": "p:text",
"properties": {
"alpine": "\uf300",
"arch": "\uf303",
"centos": "\uf304",
"debian": "\uf306",
"elementary": "\uf309",
"fedora": "\uf30a",
"gentoo": "\uf30d",
"linux": "\ue712",
"macos": "\ue711",
"manjaro": "\uf312",
"mint": "\uf30f",
"opensuse": "\uf314",
"raspbian": "\uf315",
"ubuntu": "\uf31c",
"windows": "\ue70f"
},
"style": "diamond",
"leading_diamond": "\u256d\u2500\ue0b2",
"template": " {{ .Icon }} ",
"type": "os"
},
{
"background": "p:grey",
"foreground": "p:darktext",
"style": "powerline",
"powerline_symbol": "\ue0b0",
"template": " {{ .UserName }} ",
"type": "session"
},
{
"background": "p:blue",
"foreground": "p:text",
"properties": {
"style": "agnoster_short",
"max_depth": 3,
"folder_icon": "\u2026",
"folder_separator_icon": " <transparent>\ue0b1</> "
},
"style": "powerline",
"powerline_symbol": "\ue0b0",
"template": " {{ .Path }} ",
"type": "path"
},
{
"background": "p:green",
"foreground": "p:text",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}p:maroon{{ end }}"
],
"properties": {
"branch_max_length": 25,
"fetch_stash_count": true,
"fetch_status": true,
"branch_icon": "\uf418 ",
"branch_identical_icon": "\uf444",
"branch_gone_icon": "\ueab8"
},
"style": "diamond",
"leading_diamond": "<transparent,background>\ue0b0</>",
"template": " {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} <transparent>\ue0b1</> <#121318>\uf044 {{ .Working.String }}</>{{ end }}{{ if .Staging.Changed }} <transparent>\ue0b1</> <#121318>\uf046 {{ .Staging.String }}</>{{ end }}{{ if gt .StashCount 0 }} <transparent>\ue0b1</> <#121318>\ueb4b {{ .StashCount }}</>{{ end }} ",
"trailing_diamond": "\ue0b0",
"type": "git"
}
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
"background": "p:grey",
"foreground": "p:darktext",
"properties": {
"style": "austin",
"always_enabled": true
},
"invert_powerline": true,
"style": "powerline",
"powerline_symbol": "\ue0b2",
"template": " \ueba2 {{ .FormattedMs }} ",
"type": "executiontime"
},
{
"background": "p:mauve",
"foreground": "p:text",
"properties": {
"time_format": "15:04:05"
},
"invert_powerline": true,
"style": "diamond",
"template": " \uf073 {{ .CurrentDate | date .Format }} ",
"trailing_diamond": "\ue0b0",
"type": "time"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "p:mauve",
"style": "plain",
"template": "\u2570\u2500 {{ if .Root }}#{{else}}${{end}}",
"type": "text"
}
],
"type": "prompt"
}
],
"final_space": true,
"version": 2
}