Advertisement
chaosmos

powerline config for oh-my-posh (5.6.4)

Oct 1st, 2021
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 5.70 KB | None | 0 0
  1. {
  2.   "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json",
  3.   "blocks": [
  4.     {
  5.       "alignment": "left",
  6.       "newline": true,
  7.       "segments": [],
  8.       "type": "prompt"
  9.     },
  10.     {
  11.       "alignment": "left",
  12.       "newline": true,
  13.       "segments": [
  14.         {
  15.           "background": "#e9eed9",
  16.           "foreground": "#0fb4e6",
  17.           "leading_diamond": "╭─",
  18.           "style": "diamond",
  19.           "type": "os"
  20.         },
  21.         {
  22.           "background": "#3465a4",
  23.           "foreground": "#EEEE8B",
  24.           "powerline_symbol": "",
  25.           "properties": {
  26.             "enable_hyperlink": false,
  27.             "home_icon": "~",
  28.             "prefix": "  ",
  29.             "style": "full",
  30.             "mapped_locations": {
  31.               "D:\\Projects": "  ",
  32.               "C:\\Users\\haosmos": "  "
  33.             }
  34.           },
  35.           "style": "powerline",
  36.           "type": "path"
  37.         },
  38.         {
  39.           "background": "#425B67",
  40.           "foreground": "#000000",
  41.           "powerline_symbol": "",
  42.           "properties": {
  43.             "ahead_and_behind_color": "#f26d50",
  44.             "branch_icon": " ",
  45.             "stash_count_icon": " ",
  46.             "ahead_color": "#2EC4B6",
  47.             "behind_color": "#8A4FFF",
  48.             "color_background": false,
  49.             "display_stash_count": true,
  50.             "display_status": true,
  51.             "display_upstream_icon": true,
  52.             "local_changes_color": "#41fd3a",
  53.             "postfix": "\u2800",
  54.             "staging_color": "#00fad9",
  55.             "status_colors_enabled": true,
  56.             "working_color": "#fdf263"
  57.           },
  58.           "style": "powerline",
  59.           "type": "git"
  60.         }
  61.       ],
  62.       "type": "prompt"
  63.     },
  64.     {
  65.       "alignment": "right",
  66.       "segments": [
  67.         {
  68.           "background": "#425B67",
  69.           "foreground": "#41fd3a",
  70.           "invert_powerline": true,
  71.           "powerline_symbol": "",
  72.           "properties": {
  73.             "display_version": true,
  74.  
  75.             "postfix": "<#7a7a7a> </>",
  76.             "prefix": "  ",
  77.             "display_error": true,
  78.             "display_mode": "files",
  79.             "display_package_manager:": true,
  80.             "yarn_icon": "\uF61A",
  81.             "npm_icon": "\uE71E"
  82.           },
  83.           "style": "powerline",
  84.           "type": "node"
  85.         },
  86.         {
  87.           "background": "#FFDE57",
  88.           "foreground": "#111111",
  89.           "invert_powerline": true,
  90.           "powerline_symbol": "",
  91.           "properties": {
  92.             "display_mode": "files",
  93.             "display_version": true,
  94.             "display_virtual_env": false,
  95.             "postfix": "  "
  96.           },
  97.           "style": "powerline",
  98.           "type": "python"
  99.         },
  100.         {
  101.           "background_templates": [
  102.             "{{if contains \"default\" .Profile}}#FFA400{{end}}",
  103.             "{{if contains \"jan\" .Profile}}#f1184c{{end}}"
  104.           ],
  105.           "foreground": "#ffffff",
  106.           "invert_powerline": true,
  107.           "powerline_symbol": "",
  108.           "properties": {
  109.             "display_default": false,
  110.             "postfix": "  "
  111.           },
  112.           "style": "powerline",
  113.           "type": "aws"
  114.         },
  115.         {
  116.           "background": "#ffff66",
  117.           "foreground": "#111111",
  118.           "invert_powerline": true,
  119.           "powerline_symbol": "",
  120.           "properties": {
  121.             "root_icon": ""
  122.           },
  123.           "style": "powerline",
  124.           "type": "root"
  125.         },
  126.         {
  127.           "background": "#c4a000",
  128.           "foreground": "#000000",
  129.           "invert_powerline": true,
  130.           "powerline_symbol": "",
  131.           "always_enabled": true,
  132.           "properties": {
  133.             "threshold": 500,
  134.             "style": "austin",
  135.             "postfix": "  "
  136.           },
  137.           "style": "powerline",
  138.           "type": "executiontime"
  139.         },
  140.         {
  141.           "background": "#546E7A",
  142.           "foreground": "#47fc00",
  143.           "invert_powerline": true,
  144.           "powerline_symbol": "",
  145.           "properties": {
  146.             "always_enabled": true,
  147.             "color_background": false,
  148.             "display_exit_code": false,
  149.             "error_color": "#cc2222",
  150.             "success_icon": "👌",
  151.             "error_icon": "😡"
  152.           },
  153.           "style": "powerline",
  154.           "type": "exit"
  155.         },
  156.         {
  157.           "background": "#e9eed9",
  158.           "foreground": "#000000",
  159.           "invert_powerline": true,
  160.           "properties": {
  161.             "time_format": "15:04"
  162.           },
  163.           "style": "diamond",
  164.           "trailing_diamond": "─╮ ",
  165.           "type": "time"
  166.         }
  167.       ],
  168.       "type": "prompt"
  169.     },
  170.     {
  171.       "alignment": "left",
  172.       "newline": true,
  173.       "segments": [
  174.         {
  175.  
  176.           "type": "text",
  177.           "style": "plain",
  178.           "foreground": "#e9eed9",
  179.           "leading_diamond": "╰─",
  180.           "properties": {
  181.             "postfix": "",
  182.             "prefix": "╰─ ",
  183.             "text": "👉"
  184.           }
  185.         }
  186.       ],
  187.       "type": "prompt"
  188.     },
  189.     {
  190.       "segments": [
  191.         {
  192.           "background": "#e9eed9",
  193.           "properties": {
  194.             "postfix": "",
  195.             "text": ""
  196.           },
  197.           "style": "diamond",
  198.           "trailing_diamond": "─╯",
  199.           "type": "text"
  200.         }
  201.       ],
  202.       "type": "rprompt"
  203.     }
  204.   ],
  205.   "console_title": true,
  206.   "console_title_style": "template",
  207.   "console_title_template": "{{ .Shell }} in {{ .Folder }}",
  208.   "final_space": true
  209. }
  210.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement