Commit graph

8 commits

Author SHA1 Message Date
Bondrake a03c4f3f5e fix: update all themes to Nerd Font 3.0+ unicode icon locations 2024-04-20 08:46:20 +02:00
Jan De Dobbeleer 9e7237a89f fix(themes): adjust themes for correct rendering 2024-02-15 20:27:20 +01:00
Jan De Dobbeleer f47da9592f feat(exit): implement pipestatus
BREAKING CHANGE: exit segment is now called status segment.

The exit keyword is now deprecated and will be removed in a future
release. Please use the status keyword instead:

```diff
"segments": {
    {
-     "type": "exit"
+     "type": "status"
    }
}
```

Additionally, the status segment configuration has changed to support
$PIPESTATUS. You can include a status template to customize the
rendering of each individual status code (supported in fish, zsh and
bash).

```json
"segments": {
    {
        "type": "status",
        "properties": {
            "status_template": "{{ if gt .Code 0 }}\uf071{{ else }}\uf00c{{ end }}",
            "status_separator": " "
        }
    }
}
```

In case no $PIPESTATUS is available, the status segment will fall back
to the exit code of the last command using the status template
for rendering.

The `{{ .Meaning }}` property has been marked as deprecated and can be
replaced with `{{ reason .Code }}`, allowing it to be reused in
cross segment templates.

resolves #4070
2023-07-24 11:46:33 +02:00
bendn 86c0daaa68 feat(theme): better weather
how many times have i refactored the weather now
2023-01-11 10:20:10 +01:00
bendn 4dabb892db fix(theme): fix glowsticks using broken websites 2022-12-06 07:12:19 +01:00
bendn ff4ff26e3a theme(glowsticks): request timeout 2022-07-31 15:55:38 +02:00
bendn 766e84c964 theme(glowsticks): include console title 2022-07-27 07:41:10 +02:00
bendn 1cb3b811d0
theme: add glowsticks 2022-07-24 08:44:51 +02:00