set some themes
This commit is contained in:
parent
4560a48d5f
commit
04ddc3600a
3 changed files with 8 additions and 81 deletions
|
@ -162,7 +162,7 @@ end
|
||||||
|
|
||||||
# ─< oh-my-posh >───────────────────────────────────────────────────────────────────────────
|
# ─< oh-my-posh >───────────────────────────────────────────────────────────────────────────
|
||||||
if command -v oh-my-posh >/dev/null 2>&1
|
if command -v oh-my-posh >/dev/null 2>&1
|
||||||
oh-my-posh init fish --config ~/.config/fish/zen.toml | source
|
oh-my-posh init fish --config ~/.config/fish/themes/tokyo_storm.toml | source
|
||||||
end
|
end
|
||||||
|
|
||||||
# ─< set colorscheme for bobthefish >───────────────────────────────────────────────────────
|
# ─< set colorscheme for bobthefish >───────────────────────────────────────────────────────
|
||||||
|
|
|
@ -5,7 +5,7 @@ version = 2
|
||||||
terminal_background = "p:t-background"
|
terminal_background = "p:t-background"
|
||||||
|
|
||||||
[palette]
|
[palette]
|
||||||
main-bg = "#24283b"
|
main-bg = "transparent"
|
||||||
terminal-red = "#f7768e"
|
terminal-red = "#f7768e"
|
||||||
pistachio-green = "#9ece6a"
|
pistachio-green = "#9ece6a"
|
||||||
terminal-green = "#73daca"
|
terminal-green = "#73daca"
|
||||||
|
@ -62,7 +62,7 @@ branch_icon = " "
|
||||||
type = "status"
|
type = "status"
|
||||||
style = "plain"
|
style = "plain"
|
||||||
foreground = "p:terminal-red"
|
foreground = "p:terminal-red"
|
||||||
template = " "
|
template = " "
|
||||||
|
|
||||||
[[blocks]]
|
[[blocks]]
|
||||||
alignment = "right"
|
alignment = "right"
|
||||||
|
@ -122,15 +122,16 @@ type = "prompt"
|
||||||
[[blocks.segments]]
|
[[blocks.segments]]
|
||||||
foreground = "p:pistachio-green"
|
foreground = "p:pistachio-green"
|
||||||
style = "plain"
|
style = "plain"
|
||||||
template = "▶"
|
template = ""
|
||||||
type = "text"
|
type = "text"
|
||||||
|
|
||||||
[secondary_prompt]
|
[secondary_prompt]
|
||||||
background = "transparent"
|
background = "transparent"
|
||||||
foreground = "p:terminal-blue"
|
foreground = "p:terminal-blue"
|
||||||
template = "➜ "
|
template = " "
|
||||||
|
|
||||||
[transient_prompt]
|
[transient_prompt]
|
||||||
background = "p:t-background"
|
type = "status"
|
||||||
|
background = "transparent"
|
||||||
foreground = "p:terminal-blue"
|
foreground = "p:terminal-blue"
|
||||||
template = "➜ "
|
template = ""
|
||||||
|
|
74
zen.toml
74
zen.toml
|
@ -1,74 +0,0 @@
|
||||||
#:schema https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json
|
|
||||||
|
|
||||||
version = 2
|
|
||||||
final_space = true
|
|
||||||
console_title_template = '{{ .Shell }} in {{ .Folder }}'
|
|
||||||
|
|
||||||
[[blocks]]
|
|
||||||
type = 'prompt'
|
|
||||||
alignment = 'left'
|
|
||||||
newline = true
|
|
||||||
|
|
||||||
[[blocks.segments]]
|
|
||||||
type = 'path'
|
|
||||||
style = 'plain'
|
|
||||||
background = 'transparent'
|
|
||||||
foreground = 'blue'
|
|
||||||
template = '{{ .Path }}'
|
|
||||||
|
|
||||||
[blocks.segments.properties]
|
|
||||||
style = 'full'
|
|
||||||
|
|
||||||
[[blocks.segments]]
|
|
||||||
type = 'git'
|
|
||||||
style = 'plain'
|
|
||||||
foreground = 'p:grey'
|
|
||||||
background = 'transparent'
|
|
||||||
template = ' {{ .HEAD }}{{ if or (.Working.Changed) (.Staging.Changed) }}*{{ end }} <cyan>{{ if gt .Behind 0 }}⇣{{ end }}{{ if gt .Ahead 0 }}⇡{{ end }}</>'
|
|
||||||
|
|
||||||
[blocks.segments.properties]
|
|
||||||
branch_icon = ''
|
|
||||||
commit_icon = '@'
|
|
||||||
fetch_status = true
|
|
||||||
|
|
||||||
[[blocks]]
|
|
||||||
type = 'rprompt'
|
|
||||||
overflow = 'hidden'
|
|
||||||
|
|
||||||
[[blocks.segments]]
|
|
||||||
type = 'executiontime'
|
|
||||||
style = 'plain'
|
|
||||||
foreground = 'yellow'
|
|
||||||
background = 'transparent'
|
|
||||||
template = '{{ .FormattedMs }}'
|
|
||||||
|
|
||||||
[blocks.segments.properties]
|
|
||||||
threshold = 5000
|
|
||||||
|
|
||||||
[[blocks]]
|
|
||||||
type = 'prompt'
|
|
||||||
alignment = 'left'
|
|
||||||
newline = true
|
|
||||||
|
|
||||||
[[blocks.segments]]
|
|
||||||
type = 'text'
|
|
||||||
style = 'plain'
|
|
||||||
foreground_templates = [
|
|
||||||
"{{if gt .Code 0}}red{{end}}",
|
|
||||||
"{{if eq .Code 0}}magenta{{end}}",
|
|
||||||
]
|
|
||||||
background = 'transparent'
|
|
||||||
template = '❯'
|
|
||||||
|
|
||||||
[transient_prompt]
|
|
||||||
foreground_templates = [
|
|
||||||
"{{if gt .Code 0}}red{{end}}",
|
|
||||||
"{{if eq .Code 0}}magenta{{end}}",
|
|
||||||
]
|
|
||||||
background = 'transparent'
|
|
||||||
template = '❯ '
|
|
||||||
|
|
||||||
[secondary_prompt]
|
|
||||||
foreground = 'magenta'
|
|
||||||
background = 'transparent'
|
|
||||||
template = '❯❯ '
|
|
Loading…
Add table
Add a link
Reference in a new issue