|
| 1 | +{ |
| 2 | + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", |
| 3 | + "final_space": true, |
| 4 | + "osc99": true, |
| 5 | + "console_title": true, |
| 6 | + "console_title_style": "template", |
| 7 | + "console_title_template": "{{if .Root}} ⚡ {{end}}{{.Folder | replace \"~\" \"🏠\"}} @ {{.Host}}", |
| 8 | + "blocks": [ |
| 9 | + { |
| 10 | + "type": "prompt", |
| 11 | + "alignment": "left", |
| 12 | + "segments": [ |
| 13 | + { |
| 14 | + "background": "#0C212F", |
| 15 | + "foreground": "#FFFFFF", |
| 16 | + "leading_diamond": "\uE0B6", |
| 17 | + "trailing_diamond": "\uE0B0", |
| 18 | + "properties": { |
| 19 | + "prefix": " ", |
| 20 | + "wsl": "", |
| 21 | + "wsl_separator": "" |
| 22 | + }, |
| 23 | + "style": "diamond", |
| 24 | + "type": "os" |
| 25 | + }, |
| 26 | + { |
| 27 | + "background": "#DE2121", |
| 28 | + "foreground": "#FFFFFF", |
| 29 | + "leading_diamond": "<transparent,#DE2121>\uE0B0</>", |
| 30 | + "style": "diamond", |
| 31 | + "trailing_diamond": "\uE0B0", |
| 32 | + "type": "root" |
| 33 | + }, |
| 34 | + { |
| 35 | + "background": "#26BDBB", |
| 36 | + "foreground": "#0C212F", |
| 37 | + "leading_diamond": "<transparent,#26BDBB>\uE0B0</>", |
| 38 | + "properties": { |
| 39 | + "folder_icon": "\uF6D7", |
| 40 | + "folder_separator_icon": "<transparent> \uE0B1 </>", |
| 41 | + "home_icon": "\uF7DB", |
| 42 | + "style": "agnoster_short" |
| 43 | + }, |
| 44 | + "style": "diamond", |
| 45 | + "trailing_diamond": "\uE0B0", |
| 46 | + "type": "path" |
| 47 | + }, |
| 48 | + { |
| 49 | + "background": "#280C2E", |
| 50 | + "foreground": "#FFFFFF", |
| 51 | + "powerline_symbol": "\uE0B0", |
| 52 | + "properties": { |
| 53 | + "ahead_and_behind_color": "#7621DE", |
| 54 | + "ahead_color": "#7621DE", |
| 55 | + "behind_color": "#7621DE", |
| 56 | + "display_stash_count": true, |
| 57 | + "display_status": true, |
| 58 | + "display_upstream_icon": true, |
| 59 | + "local_changes_color": "#7621DE", |
| 60 | + "prefix": " ", |
| 61 | + "staging_color": "#7621DE", |
| 62 | + "status_colors_enabled": true |
| 63 | + }, |
| 64 | + "style": "powerline", |
| 65 | + "type": "git" |
| 66 | + }, |
| 67 | + { |
| 68 | + "background": "#0C212F", |
| 69 | + "foreground": "#FFFFFF", |
| 70 | + "leading_diamond": "<transparent,#0C212F>\uE0B0</>", |
| 71 | + "properties": { |
| 72 | + "time_format": "15:04" |
| 73 | + }, |
| 74 | + "style": "diamond", |
| 75 | + "trailing_diamond": "\uE0B0", |
| 76 | + "type": "time" |
| 77 | + }, |
| 78 | + { |
| 79 | + "background": "#26BDBB", |
| 80 | + "foreground": "#0C212F", |
| 81 | + "leading_diamond": "<transparent,#26BDBB>\uE0B0</>", |
| 82 | + "properties": { |
| 83 | + "postfix": "s ", |
| 84 | + "style": "dallas", |
| 85 | + "threshold": 0 |
| 86 | + }, |
| 87 | + "style": "diamond", |
| 88 | + "trailing_diamond": "\uE0B0", |
| 89 | + "type": "executiontime" |
| 90 | + }, |
| 91 | + { |
| 92 | + "background": "#910000", |
| 93 | + "foreground": "#ffffff", |
| 94 | + "leading_diamond": "<transparent,#910000>\uE0B0</>", |
| 95 | + "properties": { |
| 96 | + "prefix": "<transparent> \uF12A</> " |
| 97 | + }, |
| 98 | + "style": "diamond", |
| 99 | + "trailing_diamond": "\uE0B0", |
| 100 | + "type": "exit" |
| 101 | + } |
| 102 | + ] |
| 103 | + } |
| 104 | + ] |
| 105 | +} |
0 commit comments