Add file for Oh-my-posh theme

master
Quentin Duchemin 2024-01-25 07:46:29 +01:00
parent 391df582a5
commit f488005eed
1 changed files with 42 additions and 0 deletions

View File

@ -1,5 +1,6 @@
{ {
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
<<<<<<< HEAD
"palette": { "palette": {
"text": "#ffffff", "text": "#ffffff",
"darktext": "#6e738d", "darktext": "#6e738d",
@ -11,14 +12,21 @@
"grey": "#e4e4e4", "grey": "#e4e4e4",
"ahead": "#54433a" "ahead": "#54433a"
}, },
=======
>>>>>>> d5a4cd4 (Add file for Oh-my-posh theme)
"blocks": [ "blocks": [
{ {
"alignment": "left", "alignment": "left",
"newline": true, "newline": true,
"segments": [ "segments": [
{ {
<<<<<<< HEAD
"background": "p:mauve", "background": "p:mauve",
"foreground": "p:text", "foreground": "p:text",
=======
"background": "#d75f00",
"foreground": "#f2f3f8",
>>>>>>> d5a4cd4 (Add file for Oh-my-posh theme)
"properties": { "properties": {
"alpine": "\uf300", "alpine": "\uf300",
"arch": "\uf303", "arch": "\uf303",
@ -42,16 +50,26 @@
"type": "os" "type": "os"
}, },
{ {
<<<<<<< HEAD
"background": "p:grey", "background": "p:grey",
"foreground": "p:darktext", "foreground": "p:darktext",
=======
"background": "#e4e4e4",
"foreground": "#4e4e4e",
>>>>>>> d5a4cd4 (Add file for Oh-my-posh theme)
"style": "powerline", "style": "powerline",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"template": " {{ .UserName }} ", "template": " {{ .UserName }} ",
"type": "session" "type": "session"
}, },
{ {
<<<<<<< HEAD
"background": "p:blue", "background": "p:blue",
"foreground": "p:text", "foreground": "p:text",
=======
"background": "#0087af",
"foreground": "#f2f3f8",
>>>>>>> d5a4cd4 (Add file for Oh-my-posh theme)
"properties": { "properties": {
"style": "agnoster_short", "style": "agnoster_short",
"max_depth": 3, "max_depth": 3,
@ -64,10 +82,20 @@
"type": "path" "type": "path"
}, },
{ {
<<<<<<< HEAD
"background": "p:green", "background": "p:green",
"foreground": "p:text", "foreground": "p:text",
"background_templates": [ "background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}p:maroon{{ end }}" "{{ if or (.Working.Changed) (.Staging.Changed) }}p:maroon{{ end }}"
=======
"background": "#378504",
"foreground": "#f2f3f8",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#a97400{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#54433a{{ end }}",
"{{ if gt .Ahead 0 }}#744d89{{ end }}",
"{{ if gt .Behind 0 }}#744d89{{ end }}"
>>>>>>> d5a4cd4 (Add file for Oh-my-posh theme)
], ],
"properties": { "properties": {
"branch_max_length": 25, "branch_max_length": 25,
@ -90,8 +118,13 @@
"alignment": "right", "alignment": "right",
"segments": [ "segments": [
{ {
<<<<<<< HEAD
"background": "p:grey", "background": "p:grey",
"foreground": "p:darktext", "foreground": "p:darktext",
=======
"background": "#e4e4e4",
"foreground": "#585858",
>>>>>>> d5a4cd4 (Add file for Oh-my-posh theme)
"properties": { "properties": {
"style": "austin", "style": "austin",
"always_enabled": true "always_enabled": true
@ -103,8 +136,13 @@
"type": "executiontime" "type": "executiontime"
}, },
{ {
<<<<<<< HEAD
"background": "p:mauve", "background": "p:mauve",
"foreground": "p:text", "foreground": "p:text",
=======
"background": "#d75f00",
"foreground": "#f2f3f8",
>>>>>>> d5a4cd4 (Add file for Oh-my-posh theme)
"properties": { "properties": {
"time_format": "15:04:05" "time_format": "15:04:05"
}, },
@ -122,7 +160,11 @@
"newline": true, "newline": true,
"segments": [ "segments": [
{ {
<<<<<<< HEAD
"foreground": "p:mauve", "foreground": "p:mauve",
=======
"foreground": "#d75f00",
>>>>>>> d5a4cd4 (Add file for Oh-my-posh theme)
"style": "plain", "style": "plain",
"template": "\u2570\u2500 {{ if .Root }}#{{else}}${{end}}", "template": "\u2570\u2500 {{ if .Root }}#{{else}}${{end}}",
"type": "text" "type": "text"