Skip to content

Instantly share code, notes, and snippets.

@iOnline247
Forked from shanselman/ohmyposhv3-v2.json
Last active September 2, 2022 12:39
Show Gist options
  • Save iOnline247/71750fdf3e57a3f539784b50ea36e35d to your computer and use it in GitHub Desktop.
Save iOnline247/71750fdf3e57a3f539784b50ea36e35d to your computer and use it in GitHub Desktop.

Revisions

  1. iOnline247 revised this gist Sep 2, 2022. 1 changed file with 0 additions and 25 deletions.
    25 changes: 0 additions & 25 deletions ohmyposhv3-v2.json
    Original file line number Diff line number Diff line change
    @@ -4,31 +4,6 @@
    {
    "alignment": "left",
    "segments": [
    // {
    // "foreground": "#1865f5",
    // "properties": {
    // "alpine": "\uf300",
    // "arch": "\uf303",
    // "centos": "\uf304",
    // "debian": "\uf306",
    // "elementary": "\uf309",
    // "fedora": "\uf30a",
    // "gentoo": "\uf30d",
    // "linux": "\ue712",
    // "macos": "\uf179 ",
    // "manjaro": "\uf312",
    // "mint": "\uf30f",
    // "opensuse": "\uf314",
    // "raspbian": "\uf315",
    // "ubuntu": "\uf31b ",
    // "windows": "\uf871 ",
    // "wsl": "\ue712"
    // },
    // "style": "diamond",
    // "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}",
    // "trailing_diamond": "<transparent,>\ue0b2</>",
    // "type": "os"
    // },
    {
    "background": "#00c7fc",
    "foreground": "#000000",
  2. iOnline247 revised this gist Sep 2, 2022. 1 changed file with 25 additions and 25 deletions.
    50 changes: 25 additions & 25 deletions ohmyposhv3-v2.json
    Original file line number Diff line number Diff line change
    @@ -4,31 +4,31 @@
    {
    "alignment": "left",
    "segments": [
    {
    "foreground": "#1865f5",
    "properties": {
    "alpine": "\uf300",
    "arch": "\uf303",
    "centos": "\uf304",
    "debian": "\uf306",
    "elementary": "\uf309",
    "fedora": "\uf30a",
    "gentoo": "\uf30d",
    "linux": "\ue712",
    "macos": "\uf179 ",
    "manjaro": "\uf312",
    "mint": "\uf30f",
    "opensuse": "\uf314",
    "raspbian": "\uf315",
    "ubuntu": "\uf31b ",
    "windows": "\uf871 ",
    "wsl": "\ue712"
    },
    "style": "diamond",
    "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}",
    "trailing_diamond": "<transparent,>\ue0b2</>",
    "type": "os"
    },
    // {
    // "foreground": "#1865f5",
    // "properties": {
    // "alpine": "\uf300",
    // "arch": "\uf303",
    // "centos": "\uf304",
    // "debian": "\uf306",
    // "elementary": "\uf309",
    // "fedora": "\uf30a",
    // "gentoo": "\uf30d",
    // "linux": "\ue712",
    // "macos": "\uf179 ",
    // "manjaro": "\uf312",
    // "mint": "\uf30f",
    // "opensuse": "\uf314",
    // "raspbian": "\uf315",
    // "ubuntu": "\uf31b ",
    // "windows": "\uf871 ",
    // "wsl": "\ue712"
    // },
    // "style": "diamond",
    // "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}",
    // "trailing_diamond": "<transparent,>\ue0b2</>",
    // "type": "os"
    // },
    {
    "background": "#00c7fc",
    "foreground": "#000000",
  3. iOnline247 revised this gist Sep 2, 2022. 1 changed file with 86 additions and 83 deletions.
    169 changes: 86 additions & 83 deletions ohmyposhv3-v2.json
    Original file line number Diff line number Diff line change
    @@ -1,86 +1,89 @@
    {
    "final_space": true,
    "console_title": true,
    "console_title_style": "folder",
    "blocks": [
    "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
    "blocks": [
    {
    "alignment": "left",
    "segments": [
    {
    "type": "prompt",
    "alignment": "left",
    "horizontal_offset": 0,
    "vertical_offset": 0,
    "segments": [
    {
    "type": "path",
    "style": "diamond",
    "powerline_symbol": "",
    "invert_powerline": false,
    "foreground": "#ffffff",
    "background": "#ff479c",
    "leading_diamond": "",
    "trailing_diamond": "",
    "properties": {
    "prefix": "",
    "style": "folder"
    }
    },
    {
    "type": "git",
    "style": "powerline",
    "powerline_symbol": "",
    "invert_powerline": false,
    "foreground": "#193549",
    "background": "#fffb38",
    "leading_diamond": "",
    "trailing_diamond": "",
    "properties": {
    "display_status": true,
    "display_stash_count": true,
    "display_upstream_icon": true
    }
    },
    {
    "type": "dotnet",
    "style": "powerline",
    "powerline_symbol": "",
    "invert_powerline": false,
    "foreground": "#ffffff",
    "background": "#6CA35E",
    "leading_diamond": "",
    "trailing_diamond": "",
    "properties": {
    "display_version": true,
    "prefix": ""
    }
    },
    {
    "type": "root",
    "style": "powerline",
    "powerline_symbol": "",
    "invert_powerline": false,
    "foreground": "#ffffff",
    "background": "#ffff66",
    "leading_diamond": "",
    "trailing_diamond": "",
    "properties": null
    },
    {
    "type": "exit",
    "style": "powerline",
    "powerline_symbol": "",
    "invert_powerline": false,
    "foreground": "#ffffff",
    "background": "#2e9599",
    "leading_diamond": "",
    "trailing_diamond": "",
    "properties": {
    "always_enabled": true,
    "color_background": true,
    "display_exit_code": false,
    "error_color": "#f1184c",
    "prefix": ""
    }
    }
    ]
    "foreground": "#1865f5",
    "properties": {
    "alpine": "\uf300",
    "arch": "\uf303",
    "centos": "\uf304",
    "debian": "\uf306",
    "elementary": "\uf309",
    "fedora": "\uf30a",
    "gentoo": "\uf30d",
    "linux": "\ue712",
    "macos": "\uf179 ",
    "manjaro": "\uf312",
    "mint": "\uf30f",
    "opensuse": "\uf314",
    "raspbian": "\uf315",
    "ubuntu": "\uf31b ",
    "windows": "\uf871 ",
    "wsl": "\ue712"
    },
    "style": "diamond",
    "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}",
    "trailing_diamond": "<transparent,>\ue0b2</>",
    "type": "os"
    },
    {
    "background": "#00c7fc",
    "foreground": "#000000",
    "style": "diamond",
    "leading_diamond": "<transparent,#00c7fc>\ue0b0</>",
    "properties": {
    "template": " \uf85a CPU: {{ round .PhysicalPercentUsed .Precision }}% | "
    },
    "type": "sysinfo"
    },
    {
    "background": "#00c7fc",
    "foreground": "#000000",
    "style": "diamond",
    "template": "RAM: {{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1000000000.0) }}/{{ (div .PhysicalTotalMemory 1000000000.0) }}GB \uf85a ",
    "trailing_diamond": "<transparent,#00c7fc>\ue0b2</>",
    "type": "sysinfo"
    },
    {
    "background": "#ff479c",
    "foreground": "#ffffff",
    "leading_diamond": "\ue0b6",
    "powerline_symbol": "\ue0b0",
    "properties": {
    "style": "folder"
    },
    "style": "diamond",
    "template": " \ue5ff {{ .Path }} ",
    "type": "path"
    },
    {
    "background": "#fffb38",
    "foreground": "#193549",
    "powerline_symbol": "\ue0b0",
    "properties": {
    "fetch_stash_count": true,
    "fetch_status": true,
    "fetch_upstream_icon": true
    },
    "style": "powerline",
    "template": " {{ .HEAD }} {{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0}} \uf692 {{ .StashCount }}{{ end }}{{ if gt .WorktreeCount 0}} \uf1bb {{ .WorktreeCount }}{{ end }} ",
    "type": "git"
    },
    {
    "type": "aws",
    "style": "powerline",
    "powerline_symbol": "\uE0B0",
    "foreground": "#ffffff",
    "background": "#FFA400",
    "template": " \uE7AD {{.Profile}}{{if .Region}}@{{.Region}}{{end}}"
    }
    ]
    }
    ],
    "type": "prompt"
    }
    ],
    "final_space": true,
    "version": 2
    }
  4. @shanselman shanselman revised this gist Sep 1, 2021. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions ohmyposhv3-v2.json
    Original file line number Diff line number Diff line change
    @@ -33,6 +33,7 @@
    "leading_diamond": "",
    "trailing_diamond": "",
    "properties": {
    "display_status": true,
    "display_stash_count": true,
    "display_upstream_icon": true
    }
  5. @shanselman shanselman revised this gist Sep 1, 2021. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions ohmyposhv3-v2.json
    Original file line number Diff line number Diff line change
    @@ -12,7 +12,7 @@
    {
    "type": "path",
    "style": "diamond",
    "powerline_symbol": "",
    "powerline_symbol": "",
    "invert_powerline": false,
    "foreground": "#ffffff",
    "background": "#ff479c",
    @@ -64,7 +64,7 @@
    },
    {
    "type": "exit",
    "style": "diamond",
    "style": "powerline",
    "powerline_symbol": "",
    "invert_powerline": false,
    "foreground": "#ffffff",
    @@ -76,7 +76,7 @@
    "color_background": true,
    "display_exit_code": false,
    "error_color": "#f1184c",
    "prefix": "\u003ctransparent\u003e\u003c/\u003e"
    "prefix": ""
    }
    }
    ]
  6. @shanselman shanselman created this gist Mar 9, 2021.
    85 changes: 85 additions & 0 deletions ohmyposhv3-v2.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,85 @@
    {
    "final_space": true,
    "console_title": true,
    "console_title_style": "folder",
    "blocks": [
    {
    "type": "prompt",
    "alignment": "left",
    "horizontal_offset": 0,
    "vertical_offset": 0,
    "segments": [
    {
    "type": "path",
    "style": "diamond",
    "powerline_symbol": "",
    "invert_powerline": false,
    "foreground": "#ffffff",
    "background": "#ff479c",
    "leading_diamond": "",
    "trailing_diamond": "",
    "properties": {
    "prefix": "",
    "style": "folder"
    }
    },
    {
    "type": "git",
    "style": "powerline",
    "powerline_symbol": "",
    "invert_powerline": false,
    "foreground": "#193549",
    "background": "#fffb38",
    "leading_diamond": "",
    "trailing_diamond": "",
    "properties": {
    "display_stash_count": true,
    "display_upstream_icon": true
    }
    },
    {
    "type": "dotnet",
    "style": "powerline",
    "powerline_symbol": "",
    "invert_powerline": false,
    "foreground": "#ffffff",
    "background": "#6CA35E",
    "leading_diamond": "",
    "trailing_diamond": "",
    "properties": {
    "display_version": true,
    "prefix": ""
    }
    },
    {
    "type": "root",
    "style": "powerline",
    "powerline_symbol": "",
    "invert_powerline": false,
    "foreground": "#ffffff",
    "background": "#ffff66",
    "leading_diamond": "",
    "trailing_diamond": "",
    "properties": null
    },
    {
    "type": "exit",
    "style": "diamond",
    "powerline_symbol": "",
    "invert_powerline": false,
    "foreground": "#ffffff",
    "background": "#2e9599",
    "leading_diamond": "",
    "trailing_diamond": "",
    "properties": {
    "always_enabled": true,
    "color_background": true,
    "display_exit_code": false,
    "error_color": "#f1184c",
    "prefix": "\u003ctransparent\u003e\u003c/\u003e"
    }
    }
    ]
    }
    ]
    }