Skip to content

Instantly share code, notes, and snippets.

@samehkamaleldin
Created October 30, 2024 16:23
Show Gist options
  • Save samehkamaleldin/a645e3547e2143ca5454709919b94b9d to your computer and use it in GitHub Desktop.
Save samehkamaleldin/a645e3547e2143ca5454709919b94b9d to your computer and use it in GitHub Desktop.
omp cappuccino
version = 2
console_title_template = '{{ .Shell }} in {{ .PWD }}'
shell_integration = true
[[blocks]]
type = 'prompt'
alignment = 'left'
newline = true
[[blocks.segments]]
type = 'os'
style = 'diamond'
foreground_templates = ['{{ if .Root }}p:root-fg{{ end }}']
background_templates = ['{{ if .Root }}p:root-bg{{ end }}']
trailing_diamond = ''
template = ' {{ .Icon }} '
background = 'p:os-bg'
foreground = 'p:os-fg'
[blocks.segments.properties]
windows = ''
[[blocks.segments]]
type = 'path'
style = 'plain'
template = ' {{ .Path }} '
foreground = 'p:path'
[blocks.segments.properties]
folder_icon = '..'
home_icon = '~'
style = 'agnoster_short'
[[blocks.segments]]
type = 'git'
style = 'plain'
template = '{{ .HEAD }} '
foreground = 'p:git'
[blocks.segments.properties]
branch_icon = ' '
cherry_pick_icon = ' '
commit_icon = ' '
fetch_stash_count = false
fetch_status = false
fetch_upstream_icon = false
merge_icon = ' '
no_commits_icon = ' '
rebase_icon = ' '
revert_icon = ' '
tag_icon = ' '
[[blocks.segments]]
type = 'status'
style = 'plain'
foreground_templates = ['{{ if gt .Code 0 }}p:false{{ end }}']
template = '❯ '
foreground = 'p:true'
[blocks.segments.properties]
always_enabled = true
[[blocks]]
type = 'rprompt'
alignment = 'right'
[[blocks.segments]]
type = 'docker'
style = 'plain'
template = ' {{ .Context }} '
foreground = 'p:docker'
[[blocks.segments]]
type = 'go'
style = 'plain'
template = ' {{ if not .Error }}{{ .Full }}{{ end }} '
foreground = 'p:go'
[[blocks.segments]]
type = 'haskell'
style = 'plain'
template = ' {{ if not .Error }}{{ .Full }}{{ end }} '
foreground = 'p:haskell'
[[blocks.segments]]
type = 'julia'
style = 'plain'
template = ' {{ if not .Error }}{{ .Full }}{{ end }} '
foreground = 'p:julia'
[[blocks.segments]]
type = 'lua'
style = 'plain'
template = ' {{ if not .Error }}{{ .Full }}{{ end }} '
foreground = 'p:lua'
[[blocks.segments]]
type = 'python'
style = 'plain'
template = ' {{ if not .Error }}{{ if .Venv }}venv/{{ end }}{{ .Full }}{{ end }} '
foreground = 'p:python'
[blocks.segments.properties]
display_default = false
display_mode = 'context'
[[blocks.segments]]
type = 'rust'
style = 'plain'
template = ' {{ if not .Error }}{{ .Full }}{{ end }} '
foreground = 'p:rust'
[[blocks.segments]]
type = 'executiontime'
style = 'plain'
foreground_templates = ['{{ if .Code }}p:false{{ end }}']
template = '󰔟 {{ .FormattedMs }} '
foreground = 'p:true'
[blocks.segments.properties]
style = 'austin'
threshold = 500.0
[transient_prompt]
template = '{{ now | date "15:04:05" }} {{ if gt .Code 0 }}<p:false>❯</>{{ else }}<p:true>❯</>{{ end }} '
foreground = 'p:time'
[palette]
base = '#1E1E2E'
blue = '#89B4FA'
crust = '#11111B'
docker = 'p:sky'
false = 'p:red'
flamingo = '#F2CDCD'
git = 'p:lavender'
go = 'p:mauve'
green = '#A6E3A1'
haskell = 'p:mauve'
julia = 'p:mauve'
lavender = '#B4BEFE'
lua = 'p:mauve'
mantle = '#181825'
maroon = '#EBA0AC'
mauve = '#CBA6F7'
os-bg = 'p:overlay1'
os-fg = 'p:base'
overlay0 = '#6C7086'
overlay1 = '#7F849C'
overlay2 = '#9399B2'
path = 'p:yellow'
peach = '#FAB387'
pink = '#F5C2E7'
python = 'p:mauve'
red = '#F38BA8'
root-bg = 'p:yellow'
root-fg = 'p:base'
rosewater = '#F5E0DC'
rust = 'p:mauve'
sapphire = '#74C7EC'
sky = '#89DCEB'
subtext0 = '#A6ADC8'
subtext1 = '#BAC2DE'
surface0 = '#313244'
surface1 = '#45475A'
surface2 = '#585B70'
teal = '#94E2D5'
text = '#CDD6F4'
time = 'p:overlay1'
true = 'p:green'
yellow = '#F9E2AF'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment