update tmux and alacritty

This commit is contained in:
2025-09-23 14:01:30 +02:00
parent dbfcbd16f9
commit 630f1dd580
5 changed files with 186 additions and 169 deletions

View File

@@ -1,107 +1,115 @@
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"palette": {
"text": "#f8f8f2",
"primary": "#bd93f9",
"secondary": "#ffb86c",
"error": "#ff5555"
},
"blocks": [
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"palette": {
"error": "#ff5555",
"primary": "#bd93f9",
"secondary": "#ffb86c",
"text": "#f8f8f2"
},
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"alignment": "left",
"segments": [
{
"foreground": "p:primary",
"style": "powerline",
"template": "{{ .Icon }}",
"type": "os"
},
{
"foreground": "p:primary",
"properties": {
"style": "full"
},
"style": "plain",
"template": " {{ .Path }} ",
"type": "path"
},
{
"foreground": "p:secondary",
"style": "plain",
"template": ":: {{ .HEAD }}",
"type": "git"
}
],
"type": "prompt"
"style": "powerline",
"template": "{{ .Icon }}",
"foreground": "p:primary",
"background": "",
"type": "os"
},
{
"alignment": "right",
"segments": [
{
"foreground": "p:primary",
"properties": {
"display_mode": "files",
"fetch_package_manager": true,
"fetch_version": true,
"npm_icon": "/npm",
"yarn_icon": "/yarn"
},
"style": "plain",
"template": " {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}",
"type": "node"
},
{
"foreground": "p:error",
"properties": {
"display_mode": "files",
"fetch_version": true
},
"style": "plain",
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"type": "crystal"
},
{
"foreground": "p:error",
"properties": {
"display_mode": "files",
"fetch_version": true
},
"style": "plain",
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"type": "ruby"
},
{
"foreground": "p:primary",
"properties": {
"display_mode": "context",
"fetch_virtual_env": false
},
"style": "plain",
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"type": "python"
}
],
"type": "prompt"
"properties": {
"style": "full"
},
"style": "plain",
"template": " {{ .Path }} ",
"foreground": "p:primary",
"background": "",
"type": "path"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "p:primary",
"foreground_templates": [
"{{ if gt .Code 0 }}red{{ end }}"
],
"properties": {
"always_enabled": true
},
"style": "powerline",
"template": "\u279c ",
"type": "status"
}
],
"type": "prompt"
"style": "plain",
"template": ":: {{ .HEAD }}",
"foreground": "p:secondary",
"background": "",
"type": "git"
}
],
"version": 2
]
},
{
"type": "prompt",
"alignment": "right",
"segments": [
{
"properties": {
"display_mode": "files",
"fetch_package_manager": true,
"fetch_version": true,
"npm_icon": "/npm",
"yarn_icon": "/yarn"
},
"style": "plain",
"template": " {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}",
"foreground": "p:primary",
"background": "",
"type": "node"
},
{
"properties": {
"display_mode": "files",
"fetch_version": true
},
"style": "plain",
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"foreground": "p:error",
"background": "",
"type": "crystal"
},
{
"properties": {
"display_mode": "files",
"fetch_version": true
},
"style": "plain",
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"foreground": "p:error",
"background": "",
"type": "ruby"
},
{
"properties": {
"display_mode": "context",
"fetch_virtual_env": false
},
"style": "plain",
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"foreground": "p:primary",
"background": "",
"type": "python"
}
]
},
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"properties": {
"always_enabled": true
},
"style": "powerline",
"template": "➜ ",
"foreground": "p:primary",
"background": "",
"type": "status",
"foreground_templates": [
"{{ if gt .Code 0 }}red{{ end }}"
]
}
],
"newline": true
}
],
"version": 3
}