Read101

oh-my-posh Script

May 22nd, 2026 (edited)
658
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.38 KB | None | 0 0
  1. {
  2.   "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
  3.   "blocks": [
  4.     {
  5.       "type": "prompt",
  6.       "alignment": "left",
  7.       "segments": [
  8.         {
  9.           "properties": {
  10.             "cache_duration": "none",
  11.             "macos": "\uf179 ",
  12.             "ubuntu": "\uf31b ",
  13.             "windows": "\ue70f "
  14.           },
  15.           "leading_diamond": "\u256d\u2500\ue0b2",
  16.           "template": " {{ .Icon }} ",
  17.           "foreground": "#011627",
  18.           "background": "#FEF5ED",
  19.           "type": "os",
  20.           "style": "diamond"
  21.         },
  22.         {
  23.           "properties": {
  24.             "cache_duration": "none"
  25.           },
  26.           "template": " \ue266 MEM:{{ round .PhysicalPercentUsed .Precision }}% [{{ (div ((sub .PhysicalTotalMemory .PhysicalAvailableMemory)|float64) 1073741824.0) }}/{{ (div .PhysicalTotalMemory 1073741824.0) }}GB] ",
  27.           "foreground": "#FFFFFF",
  28.           "powerline_symbol": "\ue0b0",
  29.           "background": "#516BEB",
  30.           "type": "sysinfo",
  31.           "style": "powerline"
  32.         },
  33.         {
  34.           "properties": {
  35.             "cache_duration": "none"
  36.           },
  37.           "template": " \uf073 {{ .CurrentDate | date .Format }} ",
  38.           "foreground": "#011627",
  39.           "powerline_symbol": "\ue0b0",
  40.           "background": "#FEF5ED",
  41.           "type": "time",
  42.           "style": "powerline"
  43.         },
  44.         {
  45.           "properties": {
  46.             "cache_duration": "none",
  47.             "style": "roundrock",
  48.             "threshold": 0
  49.           },
  50.           "template": " \uf2f2 {{ .FormattedMs }} ",
  51.           "foreground": "#D6DEEB",
  52.           "powerline_symbol": "\ue0b0",
  53.           "background": "#575656",
  54.           "type": "executiontime",
  55.           "style": "powerline"
  56.         }
  57.       ],
  58.       "newline": true
  59.     },
  60.     {
  61.       "type": "prompt",
  62.       "alignment": "left",
  63.       "segments": [
  64.         {
  65.           "properties": {
  66.             "cache_duration": "none",
  67.             "folder_icon": "\uf07b",
  68.             "home_icon": "home",
  69.             "style": "agnoster_full"
  70.           },
  71.           "template": "\u2570\u2500\ue5ff {{.Path }}\uf101",
  72.           "foreground": "#FEF5ED",
  73.           "type": "path",
  74.           "style": "diamond"
  75.         }
  76.       ],
  77.       "newline": true
  78.     }
  79.   ],
  80.   "version": 3,
  81.   "final_space": true
  82. }
Advertisement