Skip to content

Instantly share code, notes, and snippets.

@artiga033
Created May 11, 2022 08:29
Show Gist options
  • Save artiga033/54be7270c381e28dbb1e1f5c39580879 to your computer and use it in GitHub Desktop.
Save artiga033/54be7270c381e28dbb1e1f5c39580879 to your computer and use it in GitHub Desktop.
an ugly oh-my-posh theme
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#ffe9aa",
"foreground": "#100e23",
"style": "powerline",
"template": " \uf0e7 ",
"trailing_diamond": "\ue0b0",
"type": "root"
},
{
"background": "#ffffff",
"foreground": "#2dc2d6",
"powerline_symbol": "\ue0d2",
"style": "powerline",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
"type": "os"
},
// {
// "type": "sysinfo",
// "powerline_symbol": "\ue0b0",
// "foreground": "#ffffff",
// "background": "#8f43f3",
// "properties": {
// "template": " \uf85a {{ round .PhysicalPercentUsed .Precision }}% ",
// "precision": 2
// },
// "style": "powerline"
// },
{
"background": "#ffffff",
"foreground": "#107c10",
"leading_diamond": "\ue0d4",
"style": "diamond",
"template": "{{.UserName}}@{{.HostName}} ",
"type": "session"
},
{
"background": "#c6e5be",
"foreground": "#223a33",
"powerline_symbol": "\ue0b0",
"properties": {
"style": "full"
},
"style": "powerline",
"template": " {{ .Path }} ",
"type": "path"
},
{
"background": "#5e4270",
"foreground": "#ffffff",
"powerline_symbol": "\ue0c8",
"style": "powerline",
"template": " {{ .HEAD }} {{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0}} \uf692 {{ .StashCount }}{{ end }}{{ if gt .WorktreeCount 0}} \uf1bb {{ .WorktreeCount }}{{ end }} ",
"type": "git"
},
{
"background": "#b9a9ca",
"foreground": "#ffffff",
"powerline_symbol": "\ue0c6",
"style": "powerline",
"template": " {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }} ",
"type": "dotnet"
},
{
"type": "executiontime",
"style": "powerline",
"powerline_symbol": "\ue0b0",
"foreground": "#3b82f4",
"background": "#ffeeb9",
"properties": {
"threshold": 0,
"style": "roundrock"
}
},
{
"background": "#ff8080",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"style": "powerline",
"properties": {
"template": "\uf467"
},
"type": "exit"
}
],
"type": "prompt"
}
],
"final_space": true,
"version": 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment