mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-25 02:03:51 -08:00
68 lines
1.7 KiB
JSON
68 lines
1.7 KiB
JSON
|
{
|
||
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||
|
"palette": {
|
||
|
"os": "#ACB0BE",
|
||
|
"closer": "p:os",
|
||
|
"pink": "#F5BDE6",
|
||
|
"lavender": "#B7BDF8",
|
||
|
"blue": "#8AADF4"
|
||
|
},
|
||
|
"blocks": [
|
||
|
{
|
||
|
"alignment": "left",
|
||
|
"segments": [
|
||
|
{
|
||
|
"foreground": "p:os",
|
||
|
"style": "plain",
|
||
|
"template": "{{.Icon}} ",
|
||
|
"type": "os"
|
||
|
},
|
||
|
{
|
||
|
"foreground": "p:blue",
|
||
|
"style": "plain",
|
||
|
"template": "{{ .UserName }}@{{ .HostName }} ",
|
||
|
"type": "session"
|
||
|
},
|
||
|
{
|
||
|
"foreground": "p:pink",
|
||
|
"properties": {
|
||
|
"folder_icon": "..\ue5fe..",
|
||
|
"home_icon": "~",
|
||
|
"style": "agnoster_short"
|
||
|
},
|
||
|
"style": "plain",
|
||
|
"template": "{{ .Path }} ",
|
||
|
"type": "path"
|
||
|
},
|
||
|
{
|
||
|
"foreground": "p:lavender",
|
||
|
"properties": {
|
||
|
"branch_icon": "\ue725 ",
|
||
|
"cherry_pick_icon": "\ue29b ",
|
||
|
"commit_icon": "\uf417 ",
|
||
|
"fetch_status": false,
|
||
|
"fetch_upstream_icon": false,
|
||
|
"merge_icon": "\ue727 ",
|
||
|
"no_commits_icon": "\uf0c3 ",
|
||
|
"rebase_icon": "\ue728 ",
|
||
|
"revert_icon": "\uf0e2 ",
|
||
|
"tag_icon": "\uf412 "
|
||
|
},
|
||
|
"template": "{{ .HEAD }} ",
|
||
|
"style": "plain",
|
||
|
"type": "git"
|
||
|
},
|
||
|
{
|
||
|
"style": "plain",
|
||
|
"foreground": "p:closer",
|
||
|
"template": "\uf105",
|
||
|
"type": "text"
|
||
|
}
|
||
|
],
|
||
|
"type": "prompt"
|
||
|
}
|
||
|
],
|
||
|
"final_space": true,
|
||
|
"version": 2
|
||
|
}
|