Skip to content

Commit

Permalink
Make nix-shell indicator configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
betaboon committed Dec 21, 2024
1 parent 059f7f2 commit d3e5339
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 @@ -86,6 +86,7 @@ var defaults = Config{
VenvIndicator: "\uE235",
NodeIndicator: "\u2B22",
RvmIndicator: "\uE92B",
NixIndicator: "\uF313",
},
"patched": {
Lock: "\uE0A2",
Expand All @@ -109,6 +110,7 @@ var defaults = Config{
VenvIndicator: "\uE235",
NodeIndicator: "\u2B22",
RvmIndicator: "\uE92B",
NixIndicator: "\uF313",
},
"flat": {
RepoDetached: "\u2693",
Expand All @@ -123,6 +125,7 @@ var defaults = Config{
VenvIndicator: "\uE235",
NodeIndicator: "\u2B22",
RvmIndicator: "\uE92B",
NixIndicator: "\uF313",
},
},
Shells: ShellMap{
Expand Down
2 changes: 1 addition & 1 deletion segment-nix-shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func segmentNixShell(p *powerline) []pwl.Segment {
}
return []pwl.Segment{{
Name: "nix-shell",
Content: "\uf313",
Content: p.symbols.NixIndicator,
Foreground: p.theme.NixShellFg,
Background: p.theme.NixShellBg,
}}
Expand Down

0 comments on commit d3e5339

Please sign in to comment.