refactor: replace root icon

This commit is contained in:
Jan De Dobbeleer 2020-10-16 08:48:49 +02:00 committed by Jan De Dobbeleer
parent 6e89a0b878
commit 0f7b3cffb7
4 changed files with 2 additions and 14 deletions

View file

@ -18,7 +18,7 @@ Show when the current user is root or when in an elevated shell (Windows).
"foreground": "#111111",
"background": "#ffff66",
"properties": {
"root_icon": ""
"root_icon": "\uF0E7"
}
}
```

View file

@ -15,7 +15,7 @@ func (rt *root) enabled() bool {
}
func (rt *root) string() string {
return rt.props.getString(RootIcon, "\uE20F")
return rt.props.getString(RootIcon, "\uF0E7")
}
func (rt *root) init(props *properties, env environmentInfo) {

View file

@ -72,7 +72,6 @@
"foreground": "#CECE04",
"properties": {
"prefix": ""
}
},
{
@ -80,7 +79,6 @@
"style": "plain",
"foreground": "#100e23",
"properties": {
"prefix": "",
"prefix": "  "
}
},

View file

@ -95,16 +95,6 @@
"prefix": "  "
}
},
{
"type": "root",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#111111",
"background": "#ffff66",
"properties": {
"root_icon": ""
}
},
{
"type": "shell",
"style": "powerline",