mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-21 02:55:37 -08:00
refactor: update default settings
This commit is contained in:
parent
b6a70af568
commit
2821fe6424
86
settings.go
86
settings.go
|
@ -74,47 +74,93 @@ func getDefaultSettings() *Settings {
|
|||
Type: Prompt,
|
||||
Alignment: Left,
|
||||
Segments: []*Segment{
|
||||
{
|
||||
Type: Root,
|
||||
Style: Powerline,
|
||||
PowerlineSymbol: "\uE0B0",
|
||||
Background: "#ffe9aa",
|
||||
Foreground: "#100e23",
|
||||
},
|
||||
{
|
||||
Type: Session,
|
||||
Style: Powerline,
|
||||
PowerlineSymbol: "\uE0B0",
|
||||
Background: "#ffffff",
|
||||
Foreground: "#100e23",
|
||||
Style: Diamond,
|
||||
Background: "#c386f1",
|
||||
Foreground: "#ffffff",
|
||||
LeadingDiamond: "\uE0B6",
|
||||
TrailingDiamond: "\uE0B0",
|
||||
},
|
||||
{
|
||||
Type: Path,
|
||||
Style: Powerline,
|
||||
PowerlineSymbol: "\uE0B0",
|
||||
Background: "#91ddff",
|
||||
Foreground: "#100e23",
|
||||
Background: "#ff479c",
|
||||
Foreground: "#ffffff",
|
||||
Properties: map[Property]interface{}{
|
||||
Prefix: " \uE5FF ",
|
||||
Style: "folder",
|
||||
},
|
||||
},
|
||||
{
|
||||
Type: Git,
|
||||
Style: Powerline,
|
||||
PowerlineSymbol: "\uE0B0",
|
||||
Background: "#95ffa4",
|
||||
Foreground: "#100e23",
|
||||
Background: "#fffb38",
|
||||
Foreground: "#193549",
|
||||
Properties: map[Property]interface{}{
|
||||
DisplayStashCount: true,
|
||||
DisplayUpstreamIcon: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
Type: Python,
|
||||
Type: Battery,
|
||||
Style: Powerline,
|
||||
PowerlineSymbol: "\uE0B0",
|
||||
Background: "#906cff",
|
||||
Foreground: "#100e23",
|
||||
Background: "#f36943",
|
||||
Foreground: "#193549",
|
||||
Properties: map[Property]interface{}{
|
||||
BatteryIcon: "",
|
||||
ColorBackground: true,
|
||||
ChargedColor: "#4caf50",
|
||||
ChargingColor: "#40c4ff",
|
||||
DischargingColor: "#ff5722",
|
||||
Postfix: "\uF295 ",
|
||||
},
|
||||
},
|
||||
{
|
||||
Type: Node,
|
||||
Style: Powerline,
|
||||
PowerlineSymbol: "\uE0B0",
|
||||
Background: "#6CA35E",
|
||||
Foreground: "#ffffff",
|
||||
Properties: map[Property]interface{}{
|
||||
Prefix: " \uE718 ",
|
||||
},
|
||||
},
|
||||
{
|
||||
Type: ShellInfo,
|
||||
Style: Powerline,
|
||||
PowerlineSymbol: "\uE0B0",
|
||||
Background: "#0077c2",
|
||||
Foreground: "#ffffff",
|
||||
Properties: map[Property]interface{}{
|
||||
Prefix: " \uFCB5 ",
|
||||
},
|
||||
},
|
||||
{
|
||||
Type: Root,
|
||||
Style: Powerline,
|
||||
PowerlineSymbol: "\uE0B0",
|
||||
Background: "#ffff66",
|
||||
Foreground: "#ffffff",
|
||||
},
|
||||
{
|
||||
Type: Exit,
|
||||
Style: Powerline,
|
||||
Style: Diamond,
|
||||
PowerlineSymbol: "\uE0B0",
|
||||
Background: "#ff8080",
|
||||
Background: "#2e9599",
|
||||
Foreground: "#ffffff",
|
||||
LeadingDiamond: "",
|
||||
TrailingDiamond: "\uE0B4",
|
||||
Properties: map[Property]interface{}{
|
||||
DisplayExitCode: false,
|
||||
AlwaysEnabled: true,
|
||||
ErrorColor: "#f1184c",
|
||||
ColorBackground: true,
|
||||
Prefix: "<transparent>\uE0B0</> \uE23A",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue