Skip to content

Commit

Permalink
Make dotenv indicator configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
betaboon committed Dec 21, 2024
1 parent 7dca1fa commit 5032a72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ var defaults = Config{
RepoConflicted: "\u273C",
RepoStashed: "\u2691",

DotEnvIndicator: "\u2235",
KubeIndicator: "\u2388",
NixShellIndicator: "\uF313",
NodeIndicator: "\u2B22",
Expand All @@ -108,6 +109,7 @@ var defaults = Config{
RepoConflicted: "\u273C",
RepoStashed: "\u2691",

DotEnvIndicator: "\u2235",
KubeIndicator: "\u2388",
NixShellIndicator: "\uF313",
NodeIndicator: "\u2B22",
Expand All @@ -124,6 +126,7 @@ var defaults = Config{
RepoConflicted: "\u273C",
RepoStashed: "\u2691",

DotEnvIndicator: "\u2235",
KubeIndicator: "\u2388",
NixShellIndicator: "\uF313",
NodeIndicator: "\u2B22",
Expand Down
2 changes: 1 addition & 1 deletion segment-dotenv.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}}
Expand Down

0 comments on commit 5032a72

Please sign in to comment.