refactor: update default settings

This commit is contained in:
Jan De Dobbeleer 2020-10-16 19:15:11 +02:00 committed by Jan De Dobbeleer
parent b6a70af568
commit 2821fe6424

View file

@ -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",
},
},
},
},