Skip to content

Commit

Permalink
Restyle nix-shell segment
Browse files Browse the repository at this point in the history
  • Loading branch information
jonascarpay committed Apr 29, 2021
1 parent b5a2519 commit d9ead8c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ var defaults = Config{
LoadAvgValue: 5,
LoadThresholdBad: 1.0,

NixShellFg: 00,
NixShellFg: 15,
NixShellBg: 69, // a light blue

DurationFg: 250,
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: nixShell,
Content: "\uf313",
Foreground: p.theme.NixShellFg,
Background: p.theme.NixShellBg,
}}
Expand Down
2 changes: 1 addition & 1 deletion themes/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"LoadHighBg": 161,
"LoadAvgValue": 5,
"LoadThresholdBad": 1.0,
"NixShellFg": 0,
"NixShellFg": 15,
"NixShellBg": 69,
"DurationFg": 250,
"DurationBg": 237,
Expand Down

0 comments on commit d9ead8c

Please sign in to comment.