From 6d41df1bc3b93bc8adaaad0a3ced31f569f47c72 Mon Sep 17 00:00:00 2001 From: Caleb Braaten Date: Thu, 2 Oct 2025 10:40:48 -0700 Subject: [PATCH] Update powerline config --- zsh/.config/oh-my-posh/theme.toml | 67 +++++++++++++++---------------- 1 file changed, 33 insertions(+), 34 deletions(-) diff --git a/zsh/.config/oh-my-posh/theme.toml b/zsh/.config/oh-my-posh/theme.toml index 2344506..a9a2d1c 100644 --- a/zsh/.config/oh-my-posh/theme.toml +++ b/zsh/.config/oh-my-posh/theme.toml @@ -1,53 +1,55 @@ -#:schema https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json - -version = 2 +version = 3 final_space = true +[palette] + blue = '#8AADF4' + lavender = '#B7BDF8' + os = '#ACB0BE' + pink = '#F5BDE6' + text = '#494D64' + wight = '#FFFFFF' + [[blocks]] type = 'prompt' alignment = 'left' [[blocks.segments]] - type = 'session' - style = 'diamond' - powerline_symbol = '' leading_diamond = '' template = '{{ .UserName }}@{{ .HostName }}' - background = 'p:blue' foreground = 'p:text' - Text = '' - Duration = 0 - NameLength = 0 - - [[blocks.segments]] - type = 'path' - style = 'powerline' powerline_symbol = '' - template = ' {{ .Path }}' - background = 'p:pink' - foreground = 'p:text' - Text = '' - Duration = 0 - NameLength = 0 + background = 'p:blue' + type = 'session' + style = 'diamond' [blocks.segments.properties] + cache_duration = 'none' + + [[blocks.segments]] + template = ' {{ .Path }}' + foreground = 'p:text' + powerline_symbol = '' + background = 'p:pink' + type = 'path' + style = 'powerline' + + [blocks.segments.properties] + cache_duration = 'none' folder_icon = '' home_icon = '~' style = 'agnoster_short' [[blocks.segments]] + template = ' {{ .HEAD }}' + foreground = 'p:text' + powerline_symbol = '' + background = 'p:lavender' type = 'git' style = 'powerline' - powerline_symbol = '' - template = ' {{ .HEAD }}' - background = 'p:lavender' - foreground = 'p:text' - Text = '' - Duration = 0 - NameLength = 0 [blocks.segments.properties] branch_icon = ' ' + cache_duration = 'none' cherry_pick_icon = ' ' commit_icon = ' ' fetch_status = false @@ -58,10 +60,7 @@ final_space = true revert_icon = ' ' tag_icon = ' ' -[palette] - blue = '#8AADF4' - lavender = '#B7BDF8' - os = '#ACB0BE' - pink = '#F5BDE6' - text = '#494D64' - wight = '#FFFFFF' + [blocks.segments.properties.mapped_branches] + 'docs/*' = '📚 ' + 'feat/*' = '🚀 ' + 'fix/*' = '🐛 '