From dda8c95281f8b2fe4e2f82093900fd063e49a5a2 Mon Sep 17 00:00:00 2001 From: Jul Guga <58825526+Mr-Vipi@users.noreply.github.com> Date: Wed, 5 Mar 2025 00:27:14 +0100 Subject: [PATCH] feat(theme): add mapped_branches & space betwwen git icon and branch icon --- themes/night-owl.omp.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/themes/night-owl.omp.json b/themes/night-owl.omp.json index 1c3cfa0d..2733342d 100644 --- a/themes/night-owl.omp.json +++ b/themes/night-owl.omp.json @@ -54,10 +54,14 @@ "fetch_stash_count": true, "fetch_status": true, "fetch_upstream_icon": true, - "fetch_worktree_count": true + "fetch_worktree_count": true, + "mapped_branches": { + "feat/*": "🚀 ", + "bug/*": "🐛 " + } }, "style": "powerline", - "template": " {{ url .UpstreamIcon .UpstreamURL }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ", + "template": " {{ .UpstreamIcon }} {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ", "type": "git" }, {