Skip to content

Commit

Permalink
Merge pull request #310 from jonascarpay/main
Browse files Browse the repository at this point in the history
Restyle nix-shell segment
  • Loading branch information
justjanne authored Jul 14, 2021
2 parents 20b4b19 + fce0e2a commit f27435b
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 f27435b

Please sign in to comment.