addet themes

This commit is contained in:
pika 2024-06-08 22:52:33 +02:00
parent 70ff2485b3
commit 4560a48d5f
4 changed files with 501 additions and 0 deletions

167
themes/bubbles.toml Normal file
View file

@ -0,0 +1,167 @@
"$schema" = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json"
final_space = true
version = 2
[[blocks]]
alignment = "right"
type = "prompt"
[[blocks.segments]]
background = "#29315A"
foreground = "#E64747"
leading_diamond = ""
style = "diamond"
template = "{{ .UserName }}"
trailing_diamond = " "
type = "session"
[[blocks.segments]]
background = "#29315A"
foreground = "#3EC669"
leading_diamond = ""
style = "diamond"
template = " {{ .Path }}"
trailing_diamond = ""
type = "path"
[blocks.segments.properties]
style = "folder"
[[blocks.segments]]
background = "#29315A"
foreground = "#43CCEA"
leading_diamond = " "
style = "diamond"
template = "{{ .HEAD }}"
trailing_diamond = ""
type = "git"
[blocks.segments.properties]
branch_icon = ""
[[blocks.segments]]
background = "#29315A"
foreground = "#E4F34A"
leading_diamond = " "
style = "diamond"
template = "{{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}"
trailing_diamond = ""
type = "python"
[blocks.segments.properties]
fetch_version = false
[[blocks.segments]]
background = "#29315A"
foreground = "#7FD5EA"
leading_diamond = " "
style = "diamond"
template = "{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
trailing_diamond = ""
type = "go"
[blocks.segments.properties]
fetch_version = false
[[blocks.segments]]
background = "#29315A"
foreground = "#42E66C"
leading_diamond = " "
style = "diamond"
template = "{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}"
trailing_diamond = ""
type = "node"
[blocks.segments.properties]
fetch_version = false
[[blocks.segments]]
background = "#29315A"
foreground = "#E64747"
leading_diamond = " "
style = "diamond"
template = "{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
trailing_diamond = ""
type = "ruby"
[blocks.segments.properties]
fetch_version = false
[[blocks.segments]]
background = "#29315A"
foreground = "#E64747"
leading_diamond = " "
style = "diamond"
template = "{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
trailing_diamond = ""
type = "java"
[blocks.segments.properties]
fetch_version = false
[[blocks.segments]]
background = "#29315A"
foreground = "#9B6BDF"
leading_diamond = " "
style = "diamond"
template = "{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} "
trailing_diamond = ""
type = "julia"
[blocks.segments.properties]
fetch_version = false
[[blocks.segments]]
background = "#29315A"
foreground = "#9B6BDF"
foreground_templates = [
"{{if eq \"Charging\" .State.String}}#40c4ff{{end}}",
"{{if eq \"Discharging\" .State.String}}#ff5722{{end}}",
"{{if eq \"Full\" .State.String}}#4caf50{{end}}"
]
leading_diamond = " "
style = "diamond"
template = "{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}"
trailing_diamond = ""
type = "battery"
[blocks.segments.properties]
charged_icon = "• "
charging_icon = "⇡ "
discharging_icon = "⇣ "
[[blocks]]
alignment = "left"
newline = true
type = "prompt"
[[blocks.segments]]
background = "#29315A"
foreground = "#AEA4BF"
leading_diamond = ""
style = "diamond"
template = "{{ .FormattedMs }}"
trailing_diamond = " "
type = "executiontime"
[blocks.segments.properties]
style = "austin"
threshold = 150
[[blocks.segments]]
background = "#29315A"
foreground = "#7FD5EA"
leading_diamond = ""
style = "diamond"
template = ""
trailing_diamond = ""
type = "text"
[transient_prompt]
foreground_templates = [
"{{if gt .Code 0}}red{{end}}",
"{{if eq .Code 0}}magenta{{end}}",
]
background = 'transparent'
template = ' '

124
themes/hul10.toml Normal file
View file

@ -0,0 +1,124 @@
"$schema" = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json"
console_title_template = "{{if .Root}}[root] {{end}}{{.Shell}} in <{{.Folder}}>"
final_space = true
version = 2
[palette]
white = "#f7f7f7"
black = "#111111"
[transient_prompt]
foreground_templates = [
"{{if gt .Code 0}}red{{end}}",
"{{if eq .Code 0}}magenta{{end}}",
]
background = 'transparent'
template = ' '
[[blocks]]
type = "prompt"
alignment = "left"
newline = true
[[blocks.segments]]
background = "transparent"
foreground = "p:white"
style = "plain"
template = "┌"
type = "text"
[[blocks.segments]]
background = "#464646"
foreground = "p:white"
style = "plain"
template = " {{.Icon}}{{if .WSL}} (WSL){{end}}"
type = "os"
[blocks.segments.properties]
windows = ""
linux = ""
ubuntu = ""
macos = ""
[[blocks.segments]]
background = "p:white"
foreground = "p:black"
style = "plain"
template = "  {{.Name}}"
type = "shell"
[[blocks.segments]]
background = "#ffe093"
foreground = "p:black"
style = "plain"
template = "  {{.HostName}}{{.UserName}}"
type = "session"
[[blocks.segments]]
background = "#ffffd6"
foreground = "p:black"
style = "plain"
template = "{{.HEAD}}"
type = "git"
[blocks.segments.properties]
branch_icon = "  "
[[blocks]]
type = "prompt"
alignment = "right"
[[blocks.segments]]
background = "transparent"
foreground = "#b3ffde"
style = "plain"
template = "{{.FormattedMs}}"
type = "executiontime"
[blocks.segments.properties]
style = "austin"
threshold = 0
[[blocks.segments]]
background = "transparent"
foreground = "#b3ffde"
style = "plain"
template = "<p:white> · </>{{.CurrentDate | date .Format}}"
type = "time"
[blocks.segments.properties]
time_format = "02/01/06 15:04"
[[blocks]]
type = "prompt"
alignment = "left"
newline = true
[[blocks.segments]]
background = "transparent"
foreground = "p:white"
style = "plain"
template = "<p:white>└</><#93d0ff>[</> {{.Path}} <#93d0ff>]</>"
type = "path"
[blocks.segments.properties]
folder_icon = ""
folder_separator_template = "<#93d0ff> » </>"
home_icon = ""
style = "agnoster"
[[blocks]]
type = "prompt"
alignment = "left"
newline = true
[[blocks.segments]]
background = "transparent"
foreground = "#81ff91"
foreground_templates = [ "{{if gt .Code 0}}#ff3030{{end}}" ]
style = "plain"
template = ""
type = "status"
[blocks.segments.properties]
always_enabled = true

136
themes/tokyo_storm.toml Normal file
View file

@ -0,0 +1,136 @@
"$schema" = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json"
console_title_template = " {{ .Folder }} :: {{if .Root}}Admin{{end}}"
final_space = true
version = 2
terminal_background = "p:t-background"
[palette]
main-bg = "#24283b"
terminal-red = "#f7768e"
pistachio-green = "#9ece6a"
terminal-green = "#73daca"
terminal-yellow = "#e0af68"
terminal-blue = "#7aa2f7"
celeste-blue = "#b4f9f8"
light-sky-blue = "#7dcfff"
terminal-white = "#c0caf5"
white-blue = "#a9b1d6"
blue-bell = "#9aa5ce"
pastal-grey = "#cfc9c2"
terminal-magenta = "#bb9af7"
blue-black = "#565f89"
terminal-black = "#414868"
t-background = "p:main-bg"
[[blocks]]
alignment = "left"
type = "prompt"
[[blocks.segments]]
type = "text"
style = "plain"
background = "transparent"
foreground = "p:terminal-blue"
template = "➜ "
[[blocks.segments]]
type = "path"
style = "plain"
foreground = "p:terminal-magenta"
template = "<b>{{ .Path }}</b> <p:light-sky-blue>⚡</>"
[blocks.segments.properties]
style = "folder"
[[blocks.segments]]
type = "git"
style = "plain"
foreground = "p:light-sky-blue"
foreground_templates = [
"{{ if or (.Working.Changed) (.Staging.Changed) }}p:terminal-red{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0)}}p:light-sky-blue {{ end }}",
"{{ if gt .Ahead 0 }}p:terminal-blue{{ end }}",
"{{ if gt .Behind 0 }}p:celeste-blue{{ end }}"
]
template = "({{ .HEAD}})"
[blocks.segments.properties]
fetch_status = true
branch_icon = " "
[[blocks.segments]]
type = "status"
style = "plain"
foreground = "p:terminal-red"
template = " "
[[blocks]]
alignment = "right"
overflow = "hide"
type = "prompt"
[[blocks.segments]]
type = "node"
style = "plain"
foreground = "p:pistachio-green"
template = " {{ .Full }} "
[[blocks.segments]]
type = "php"
style = "plain"
foreground = "p:terminal-blue"
template = " {{ .Full }} "
[[blocks.segments]]
type = "python"
style = "plain"
foreground = "p:terminal-yellow"
template = " {{ .Full }}"
[[blocks.segments]]
type = "julia"
style = "plain"
foreground = "p:terminal-magenta"
template = " {{ .Full }}"
[[blocks.segments]]
type = "ruby"
style = "plain"
foreground = "p:terminal-red"
template = " {{ .Full}}"
[[blocks.segments]]
type = "go"
style = "plain"
foreground = "p:light-sky-blue"
template = "ﳑ {{ .Full}}"
[[blocks.segments]]
type = "command"
style = "plain"
foreground = "p:white-blue"
[blocks.segments.properties]
command = "git log --pretty=format:%cr -1 || date +%H:%M:%S"
shell = "bash"
[[blocks]]
alignment = "left"
newline = true
type = "prompt"
[[blocks.segments]]
foreground = "p:pistachio-green"
style = "plain"
template = "▶"
type = "text"
[secondary_prompt]
background = "transparent"
foreground = "p:terminal-blue"
template = "➜ "
[transient_prompt]
background = "p:t-background"
foreground = "p:terminal-blue"
template = "➜ "

74
themes/zen.toml Normal file
View file

@ -0,0 +1,74 @@
#: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 = ' '