Finished hacker theme mostly and added some other configs
This commit is contained in:
parent
0c499ecbd6
commit
ad06f5284e
91 changed files with 1928 additions and 3 deletions
90
themes/hacker/.config/oh-my-posh/hacker.omp.json
Normal file
90
themes/hacker/.config/oh-my-posh/hacker.omp.json
Normal file
|
|
@ -0,0 +1,90 @@
|
|||
{
|
||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||||
"blocks": [
|
||||
{
|
||||
"alignment": "left",
|
||||
"segments": [
|
||||
{
|
||||
"foreground": "#ef934d",
|
||||
"style": "plain",
|
||||
"template": "{{ .UserName }}@{{ .HostName }} ",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
"foreground": "#f4decd",
|
||||
"style": "plain",
|
||||
"properties": {
|
||||
"style": "folder"
|
||||
},
|
||||
"template": "{{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"foreground": "#6a6a6a",
|
||||
"style": "plain",
|
||||
"properties": {
|
||||
"branch_icon": " ",
|
||||
"fetch_status": true,
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"template": "{{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}<#ef934d> *</>{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#7ec97e> +</>{{ end }}{{ if gt .StashCount 0 }}<#6a6a6a> {{ .StashCount }}</>{{ end }} ",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
"foreground": "#6a6a6a",
|
||||
"style": "plain",
|
||||
"properties": {
|
||||
"style": "austin",
|
||||
"threshold": 500
|
||||
},
|
||||
"template": "{{ .FormattedMs }} ",
|
||||
"type": "executiontime"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
},
|
||||
{
|
||||
"alignment": "right",
|
||||
"segments": [
|
||||
{
|
||||
"foreground": "#6a6a6a",
|
||||
"style": "plain",
|
||||
"properties": {
|
||||
"time_format": "01/02 15:04"
|
||||
},
|
||||
"template": "{{ .CurrentDate | date .Format }}",
|
||||
"type": "time"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
},
|
||||
{
|
||||
"alignment": "left",
|
||||
"newline": true,
|
||||
"segments": [
|
||||
{
|
||||
"foreground": "#ef934d",
|
||||
"foreground_templates": [
|
||||
"{{ if gt .Code 0 }}#f16e65{{ end }}"
|
||||
],
|
||||
"style": "plain",
|
||||
"properties": {
|
||||
"always_enabled": true
|
||||
},
|
||||
"template": "❯ ",
|
||||
"type": "status"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
}
|
||||
],
|
||||
"transient_prompt": {
|
||||
"foreground": "#ef934d",
|
||||
"foreground_templates": [
|
||||
"{{ if gt .Code 0 }}#f16e65{{ end }}"
|
||||
],
|
||||
"template": "❯ "
|
||||
},
|
||||
"console_title_template": "{{ .Folder }}",
|
||||
"version": 3
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue