diff --git a/defaults.go b/defaults.go index 36da254..ba71d15 100644 --- a/defaults.go +++ b/defaults.go @@ -83,6 +83,7 @@ var defaults = Config{ RepoConflicted: "\u273C", RepoStashed: "\u2691", + DotEnvIndicator: "\u2235", KubeIndicator: "\u2388", NixShellIndicator: "\uF313", NodeIndicator: "\u2B22", @@ -108,6 +109,7 @@ var defaults = Config{ RepoConflicted: "\u273C", RepoStashed: "\u2691", + DotEnvIndicator: "\u2235", KubeIndicator: "\u2388", NixShellIndicator: "\uF313", NodeIndicator: "\u2B22", @@ -124,6 +126,7 @@ var defaults = Config{ RepoConflicted: "\u273C", RepoStashed: "\u2691", + DotEnvIndicator: "\u2235", KubeIndicator: "\u2388", NixShellIndicator: "\uF313", NodeIndicator: "\u2B22", diff --git a/segment-dotenv.go b/segment-dotenv.go index 2e5344f..1b9aae5 100644 --- a/segment-dotenv.go +++ b/segment-dotenv.go @@ -21,7 +21,7 @@ func segmentDotEnv(p *powerline) []pwl.Segment { } return []pwl.Segment{{ Name: "dotenv", - Content: "\u2235", + Content: p.symbols.DotEnvIndicator, Foreground: p.theme.DotEnvFg, Background: p.theme.DotEnvBg, }} diff --git a/themes.go b/themes.go index e8101d6..c417931 100644 --- a/themes.go +++ b/themes.go @@ -20,6 +20,7 @@ type SymbolTemplate struct { RepoConflicted string RepoStashed string + DotEnvIndicator string KubeIndicator string NixShellIndicator string NodeIndicator string