Commit graph

29 commits

Author SHA1 Message Date
Jan De Dobbeleer cea18715bb refactor: add config version 3 2024-11-04 12:15:40 +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
Ad Red 1f74aa49c4
theme(jandedobbeleer): add space to align icon 2023-06-15 16:28:35 +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
Jan De Dobbeleer 17f75fa1ff refactor(git): no leading space on branch status 2022-09-07 18:04:41 +02:00
Jan De Dobbeleer ee3b1127de feat: move template to segment 2022-03-27 15:42:42 +02:00
Jan De Dobbeleer 096cb8e997 feat: remove console title style 2022-03-14 22:16:22 +01:00
Jan De Dobbeleer 86db860fe6 theme: migrate all 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer 0987cafad0 refactor: remove deprecated functionality 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer b816a0bf70 feat: templates for all segments 2022-02-03 10:44:18 +01:00
Matt c1a95f42c7
chore: add schema property to jandedobbeleer json (#1513) 2021-12-29 08:08:57 +00:00
Jan De Dobbeleer 29afb86e61 feat(python): virtual env in template 2021-12-04 13:13:05 +01:00
Jan De Dobbeleer a08a3a9a21 feat(session): refactor for template 2021-12-03 23:50:50 +01:00
Jan De Dobbeleer b94e96dd15 refactor(battery): remove legacy properties 2021-11-25 13:59:36 +01:00
Jan De Dobbeleer 366767accd
theme: replace \ufa1e with \ufbab
closes #1239
2021-11-16 16:46:40 +01:00
Jan De Dobbeleer f850f3b805 feat(exit): add template properties 2021-11-15 11:39:34 +01:00
Jan De Dobbeleer 2d25c59c00 fix(git): remove Repo struct 2021-11-09 17:16:37 +01:00
Jan De Dobbeleer 7a5bccf101 fix(git): correct color templates functions 2021-11-09 13:26:59 +01:00
Jan De Dobbeleer bf16671587 refactor(git): add upstream icons 2021-11-09 13:26:59 +01:00
Jan De Dobbeleer d29a6befd9 refactor: adjust themes to new git segment properties 2021-11-09 13:26:59 +01:00
Laurent Nullens 457cd35e64 theme(jandedobbeleer): fix space in executiontime segment
fix space issue with windows terminal
2021-10-27 10:28:21 +02:00
Jan De Dobbeleer 22d3f4a2c0 theme(jandedobbeleer): remove posh-git segment
resolves #689
2021-04-27 18:57:04 +02:00
Jan De Dobbeleer e8f7eb7776 theme: update jandedobbeleer 2021-04-11 10:53:10 +02:00
Jan De Dobbeleer b59b4197dc chore: rename repository 2021-02-16 09:00:02 +01:00
TravisTX dbe3fa1bcc feat: include schema declaration in themes 2020-12-31 23:16:20 +01:00
Jan De Dobbeleer 488d25fc7b refactor: remove spotify from jandedobbeleer sample 2020-12-31 14:04:38 +01:00
Davide c73d1971f3 fix: foreground color admin icon 2020-12-02 08:50:07 +01:00
Jan De Dobbeleer e68be7aa44 feat: use *.omp.json as theme format 2020-11-28 19:29:44 +01:00
Renamed from themes/jandedobbeleer.json (Browse further)