This commit is contained in:
2025-01-02 09:51:12 -05:00
parent 1c493e63af
commit 6b8f7e0b54
12 changed files with 247 additions and 311 deletions
-85
View File
@@ -1,85 +0,0 @@
[font]
normal = { family = "MesloLGS NF", style = "Regular" }
size = 14
[cursor]
style = { shape = "Underline", blinking = "On" }
[window]
dimensions = { columns = 130, lines = 40 }
[colors.primary]
background = "#303446"
foreground = "#c6d0f5"
dim_foreground = "#838ba7"
bright_foreground = "#c6d0f5"
[colors.cursor]
text = "#303446"
cursor = "#f2d5cf"
[colors.vi_mode_cursor]
text = "#303446"
cursor = "#babbf1"
[colors.search.matches]
foreground = "#303446"
background = "#a5adce"
[colors.search.focused_match]
foreground = "#303446"
background = "#a6d189"
[colors.footer_bar]
foreground = "#303446"
background = "#a5adce"
[colors.hints.start]
foreground = "#303446"
background = "#e5c890"
[colors.hints.end]
foreground = "#303446"
background = "#a5adce"
[colors.selection]
text = "#303446"
background = "#f2d5cf"
[colors.normal]
black = "#51576d"
red = "#e78284"
green = "#a6d189"
yellow = "#e5c890"
blue = "#8caaee"
magenta = "#f4b8e4"
cyan = "#81c8be"
white = "#b5bfe2"
[colors.bright]
black = "#626880"
red = "#e78284"
green = "#a6d189"
yellow = "#e5c890"
blue = "#8caaee"
magenta = "#f4b8e4"
cyan = "#81c8be"
white = "#a5adce"
[colors.dim]
black = "#51576d"
red = "#e78284"
green = "#a6d189"
yellow = "#e5c890"
blue = "#8caaee"
magenta = "#f4b8e4"
cyan = "#81c8be"
white = "#b5bfe2"
[[colors.indexed_colors]]
index = 16
color = "#ef9f76"
[[colors.indexed_colors]]
index = 17
color = "#f2d5cf"
+15
View File
@@ -0,0 +1,15 @@
theme = dark:Bright Lights,light:AtomOneLight
cursor-style = underline
shell-integration-features = no-cursor
adjust-cursor-thickness = 4
font-size = 15
font-family = Rec Mono Linear
font-thicken = true
window-height = 34
window-width = 100
window-padding-x = 5
window-padding-y = 5
window-padding-balance = true
+57 -58
View File
@@ -1,119 +1,118 @@
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"transient_prompt": {
"template": "{{ .Shell }}> ",
"foreground": "#ffffff",
"background": "transparent"
},
"blocks": [
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#E5C07B",
"properties": {
"cache_duration": "none",
"time_format": "15:04"
},
"style": "plain",
"template": "\uf017 {{ .CurrentDate | date .Format }}",
"type": "time"
"foreground": "#E5C07B",
"type": "time",
"style": "plain"
},
{
"type": "shell",
"style": "plain",
"foreground": "#E06C75",
"properties": {
"mapped_shell_names": {
"pwsh": "Shell",
"powershell": "Shell",
"cmd": "Cmd",
"bash": "Bash"
}
"branch_max_length": 25,
"cache_duration": "none",
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true
},
"template": " \ue795 {{ .Name }}"
},
{
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
"foreground": "#F3C267",
"type": "git",
"style": "plain",
"foreground_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#FF9248{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#ff4500{{ end }}",
"{{ if gt .Ahead 0 }}#B388FF{{ end }}",
"{{ if gt .Behind 0 }}#B388FF{{ end }}"
],
"properties": {
"branch_max_length": 25,
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true
},
"style": "plain",
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
"type": "git"
]
}
],
"type": "prompt"
"newline": true
},
{
"type": "prompt",
"alignment": "right",
"segments": [
{
"properties": {
"cache_duration": "none"
},
"template": " x{{ reason .Code }}",
"foreground": "#b8ff75",
"type": "status",
"style": "plain",
"foreground": "#b8ff75",
"foreground_templates": ["{{ if gt .Code 0 }}#E06C75{{ end }}"],
"template": " x{{ reason .Code }}"
"foreground_templates": ["{{ if gt .Code 0 }}#E06C75{{ end }}"]
},
{
"foreground": "#E5C07B",
"foreground_templates": ["{{ if gt .Code 0 }}#E06C75{{ end }}"],
"properties": {
"style": "roundrock",
"always_enabled": true
"always_enabled": true,
"cache_duration": "none",
"style": "roundrock"
},
"style": "diamond",
"template": " {{ .FormattedMs }} ",
"type": "executiontime"
"foreground": "#E5C07B",
"type": "executiontime",
"style": "diamond",
"foreground_templates": ["{{ if gt .Code 0 }}#E06C75{{ end }}"]
}
],
"type": "prompt"
]
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#61AFEF",
"properties": {
"cache_duration": "none",
"style": "full"
},
"style": "plain",
"template": "\ue5ff {{ .Path }}",
"type": "path"
"foreground": "#61AFEF",
"type": "path",
"style": "plain"
}
],
"type": "prompt"
"newline": true
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"properties": {
"cache_duration": "none"
},
"template": "!",
"foreground": "#E06C75",
"style": "plain",
"template": "\u0021",
"type": "root"
"type": "root",
"style": "plain"
},
{
"properties": {
"cache_duration": "none"
},
"template": "",
"foreground": "#E06C75",
"style": "plain",
"template": "\u276f",
"type": "text"
"type": "text",
"style": "plain"
}
],
"type": "prompt"
"newline": true
}
],
"transient_prompt": {
"background": "transparent",
"foreground": "#ffffff",
"template": "{{ .Shell }}> "
},
"final_space": true,
"version": 2
"version": 3,
"final_space": true
}
+119
View File
@@ -0,0 +1,119 @@
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#E5C07B",
"properties": {
"time_format": "15:04"
},
"style": "plain",
"template": "\uf017 {{ .CurrentDate | date .Format }}",
"type": "time"
},
{
"type": "shell",
"style": "plain",
"foreground": "#E06C75",
"properties": {
"mapped_shell_names": {
"pwsh": "Shell",
"powershell": "Shell",
"cmd": "Cmd",
"bash": "Bash"
}
},
"template": " \ue795 {{ .Name }}"
},
{
"foreground": "#F3C267",
"foreground_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#FF9248{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#ff4500{{ end }}",
"{{ if gt .Ahead 0 }}#B388FF{{ end }}",
"{{ if gt .Behind 0 }}#B388FF{{ end }}"
],
"properties": {
"branch_max_length": 25,
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true
},
"style": "plain",
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
"type": "git"
}
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
"type": "status",
"style": "plain",
"foreground": "#b8ff75",
"foreground_templates": ["{{ if gt .Code 0 }}#E06C75{{ end }}"],
"template": " x{{ reason .Code }}"
},
{
"foreground": "#E5C07B",
"foreground_templates": ["{{ if gt .Code 0 }}#E06C75{{ end }}"],
"properties": {
"style": "roundrock",
"always_enabled": true
},
"style": "diamond",
"template": " {{ .FormattedMs }} ",
"type": "executiontime"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#61AFEF",
"properties": {
"style": "full"
},
"style": "plain",
"template": "\ue5ff {{ .Path }}",
"type": "path"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#E06C75",
"style": "plain",
"template": "\u0021",
"type": "root"
},
{
"foreground": "#E06C75",
"style": "plain",
"template": "\u276f",
"type": "text"
}
],
"type": "prompt"
}
],
"transient_prompt": {
"background": "transparent",
"foreground": "#ffffff",
"template": "{{ .Shell }}> "
},
"final_space": true,
"version": 2
}
-56
View File
@@ -1,56 +0,0 @@
format = """\
$username\
$directory\
$git_branch\
$git_status
$sudo\
$character"""
right_format = '$nodejs$bun$golang'
[aws]
disabled = true
[directory]
format = '[ ](yellow)[$path](underline yellow) '
read_only = ''
truncation_length = 10
home_symbol = '~'
truncate_to_repo = false
truncation_symbol = '…/'
[username]
format = '[ $user ](blue)'
show_always = true
[character]
success_symbol = '[](bold green)'
error_symbol = '[✘](bold red)'
[git_branch]
symbol = ' '
format = '[$symbol$branch(:$remote_branch) ](purple)'
[git_status]
format = '[$all_status$ahead_behind](green)'
modified = '!$count'
untracked = '?$count'
deleted = '-$count'
stashed = '󰆦 !'
ahead = '↑$count'
behind = '↓$count'
staged = '+$count'
[nodejs]
detect_files = ['package.json', '.node-version', '!bun.lockb']
format = '[node $version]($style)'
[bun]
format = '[bun $version]($style)'
[golang]
format = '[go $version]($style)'
[swift]
format = '[swift $version]($style)'