reorganization and documentation
This commit is contained in:
parent
042db5bcea
commit
a6e82c4b12
94 changed files with 1353 additions and 26 deletions
68
windows/home/.config/omp/lambda.omp.json
Normal file
68
windows/home/.config/omp/lambda.omp.json
Normal file
|
@ -0,0 +1,68 @@
|
|||
{
|
||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||||
"final_space": true,
|
||||
"version": 2,
|
||||
"blocks": [
|
||||
{
|
||||
"type": "prompt",
|
||||
"alignment": "left",
|
||||
"segments": [
|
||||
{
|
||||
"type": "text",
|
||||
"style": "plain",
|
||||
"template": " {{ if gt .Code 0 }}<red>{{ else }}<magenta>{{ end }}\u03bb</> "
|
||||
},
|
||||
{
|
||||
"type": "path",
|
||||
"style": "plain",
|
||||
"foreground": "white",
|
||||
"template": " {{ .Path }} ",
|
||||
"properties": {
|
||||
"style": "unique"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "git",
|
||||
"style": "plain",
|
||||
"foreground": "cyan",
|
||||
"template": " {{ url .HEAD .UpstreamURL }} {{ if or (.Working.Changed) (.Staging.Changed) }}<yellow>{{ else }}<green>{{ end }}\u25b2</> ",
|
||||
"properties": {
|
||||
"fetch_status": true,
|
||||
"branch_icon": "",
|
||||
"branch_identical_icon": "",
|
||||
"branch_ahead_icon": "",
|
||||
"branch_behind_icon": "",
|
||||
"branch_gone_icon": ""
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "rprompt",
|
||||
"alignment": "right",
|
||||
"segments": [
|
||||
{
|
||||
"type": "executiontime",
|
||||
"style": "plain",
|
||||
"foreground": "yellow",
|
||||
"template": " {{ .FormattedMs }} ",
|
||||
"properties": {
|
||||
"style": "round",
|
||||
"threshold": 3000
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "exit",
|
||||
"style": "plain",
|
||||
"foreground": "red",
|
||||
"template": " {{ .Code }} "
|
||||
},
|
||||
{
|
||||
"type": "time",
|
||||
"style": "plain",
|
||||
"template": " {{ .CurrentDate | date .Format }}"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue