Skip to content

Instantly share code, notes, and snippets.

@murxg
Last active May 4, 2025 11:47
Show Gist options
  • Save murxg/373894fb27f9b0e1f955347301851c3d to your computer and use it in GitHub Desktop.
Save murxg/373894fb27f9b0e1f955347301851c3d to your computer and use it in GitHub Desktop.
My oh-my-posh theme. Inspired by Catppuccin and Kali
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"palette": {
"blue": "#89B4FA",
"closer": "p:os",
"lavender": "#B4BEFE",
"os": "#ACB0BE",
"pink": "#F5C2E7",
"red": "#F38BA8"
},
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"properties": {
"cache_duration": "none"
},
"template": "╭── ",
"foreground": "p:blue",
"type": "text",
"style": "plain"
},
{
"properties": {
"cache_duration": "none"
},
"template": "{{.Icon}} ",
"foreground": "p:os",
"type": "os",
"style": "plain"
},
{
"properties": {
"cache_duration": "none"
},
"template": "{{ .UserName }}@{{ .HostName }} ",
"foreground": "p:blue",
"type": "session",
"style": "plain"
},
{
"properties": {
"cache_duration": "none",
"folder_icon": "....",
"home_icon": "~",
"style": "agnoster_short"
},
"template": "{{ .Path }} ",
"foreground": "p:pink",
"type": "path",
"style": "plain"
},
{
"properties": {
"branch_icon": "",
"cache_duration": "none",
"cherry_pick_icon": "",
"commit_icon": "",
"fetch_status": true,
"fetch_upstream_icon": true,
"merge_icon": "",
"no_commits_icon": "",
"rebase_icon": "",
"revert_icon": "",
"tag_icon": ""
},
"template": "{{ .HEAD }} ",
"foreground": "p:lavender",
"type": "git",
"style": "plain"
}
]
},
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"properties": {
"cache_duration": "none"
},
"template": "╰── ",
"foreground": "p:blue",
"type": "text",
"style": "plain"
},
{
"properties": {
"cache_duration": "none"
},
"template": "{{ if gt .Code 0 }} {{ .Code }} {{ end }}",
"foreground": "p:red",
"type": "status",
"style": "plain"
},
{
"properties": {
"cache_duration": "none"
},
"template": "",
"foreground": "p:closer",
"type": "text",
"style": "plain"
}
],
"newline": true
}
],
"version": 3,
"final_space": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment