Commit graph

10 commits

Author SHA1 Message Date
Timothy Huber 5ab6a147cc theme(tiwahu): better contrast for git segment in vs code terminal 2024-05-06 09:58:31 +02: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
Jan De Dobbeleer c57975985f fix(font): migrate away from material icons
resolves #3818
2023-05-09 11:32:04 +02:00
Jan De Dobbeleer 9663a29fe6
feat(font): update to Nerd Font V3
BREAKING CHANGE: this deprecates support for Nerd Font V2 and
requires a compatible V3 Nerd Font. Note for users experiencing
issues with icons, update to the latest Nerd Font of your choice
2023-05-08 13:33:59 +02:00
Timothy Huber 45237c956c theme(tiwahu): mapped shell and new nu prompt
- Mapping for `shell` shell (used in theme example image gen, I guess)
- New `nu` shell prompt (so I can tell the difference)
2022-08-12 08:00:30 +02:00
Timothy Huber b4de8b182a theme(tiwahu): shell-specific final prompt chars
- Final characters in prompt based on current shell name.
2022-08-11 14:02:38 +02:00
Jan De Dobbeleer ee3b1127de feat: move template to segment 2022-03-27 15:42:42 +02:00
Timothy Huber 34406484e5
theme: update tiwahu
More minor tweaks...almost just exactly right.
2022-03-08 08:07:20 +00:00
Timothy Huber 6a745ef6c3 feat(theme): updated tiwahu theme
Template tweaks. Additional segments. Still looks pretty.
2022-03-05 08:44:53 +01:00
Timothy Huber 7aafc96e7d feat(theme): add tiwahu theme
Simple theme, yet unlike others.
2022-02-27 19:18:25 +01:00