omp: upgrade

This commit is contained in:
2026-01-08 03:15:03 +01:00
parent 43067a8477
commit 54031fe915
2 changed files with 101 additions and 40 deletions
+86 -23
View File
@@ -6,28 +6,91 @@
} }
}, },
"modules": [ "modules": [
{ "type": "title" }, {
{ "type": "separator" }, "type": "title"
{ "key": " os", "type": "os" }, },
{ "key": "┠ host", "type": "host" }, {
{ "key": "┠ kernel", "type": "kernel" }, "type": "separator"
{ "key": "┠ uptime", "type": "uptime" }, },
{ "key": "┖ packages", "type": "packages" }, {
{ "type": "break" }, "key": " os",
{ "key": "󰆍 shell", "type": "shell" }, "type": "os"
{ "key": "┠ display", "type": "display" }, },
{ "key": "┠ de", "type": "de" }, {
{ "key": "┠ wm", "type": "wm" }, "key": "┠ host",
{ "key": "┠ font", "type": "terminalfont" }, "type": "host"
{ "key": "┖ terminal", "type": "terminal" }, },
{ "type": "break" }, {
{ "key": " cpu", "type": "cpu" }, "key": "┠ kernel",
{ "key": "┠ gpu", "type": "gpu" }, "type": "kernel"
{ "key": "┠ memory", "type": "memory" }, },
{ "key": "┠ disk", "type": "disk" }, {
{ "key": "┠ localip", "type": "localip" }, "key": "┠ uptime",
{ "key": "┖ publicip", "type": "publicip" }, "type": "uptime"
{ "type": "break" }, },
{ "type": "colors" } {
"key": "┖ packages",
"type": "packages"
},
{
"type": "break"
},
{
"key": "󰆍 shell",
"type": "shell"
},
{
"key": "┠ display",
"type": "display"
},
{
"key": "┠ de",
"type": "de"
},
{
"key": "┠ wm",
"type": "wm"
},
{
"key": "┠ font",
"type": "terminalfont"
},
{
"key": "┖ terminal",
"type": "terminal"
},
{
"type": "break"
},
{
"key": " cpu",
"type": "cpu"
},
{
"key": "┠ gpu",
"type": "gpu"
},
{
"key": "┠ memory",
"type": "memory"
},
{
"key": "┠ disk",
"type": "disk"
},
{
"key": "┠ localip",
"type": "localip"
},
{
"key": "┖ publicip",
"type": "publicip"
},
{
"type": "break"
},
{
"type": "colors"
}
] ]
} }
+6 -8
View File
@@ -6,7 +6,7 @@
"segments": [ "segments": [
{ {
"foreground": "#89b4fa", "foreground": "#89b4fa",
"properties": { "options": {
"windows": "\ue62a" "windows": "\ue62a"
}, },
"style": "plain", "style": "plain",
@@ -27,7 +27,7 @@
}, },
{ {
"foreground": "#94e2d5", "foreground": "#94e2d5",
"properties": { "options": {
"folder_separator_icon": "/", "folder_separator_icon": "/",
"style": "letter" "style": "letter"
}, },
@@ -38,12 +38,10 @@
{ {
"foreground": "#a6e3a1", "foreground": "#a6e3a1",
"powerline_symbol": "\ue0b1", "powerline_symbol": "\ue0b1",
"properties": { "options": {
"branch_icon": " ", "branch_icon": "\ue725 ",
"fetch_stash_count": true,
"fetch_status": true, "fetch_status": true,
"fetch_upstream_icon": true, "fetch_upstream_icon": true
"fetch_worktree_count": true
}, },
"style": "powerline", "style": "powerline",
"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 }} ", "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 }} ",
@@ -74,7 +72,7 @@
"foreground_templates": [ "foreground_templates": [
"{{ if gt .Code 0 }}#f38ba8{{ end }}" "{{ if gt .Code 0 }}#f38ba8{{ end }}"
], ],
"properties": { "options": {
"always_enabled": true "always_enabled": true
}, },
"style": "plain", "style": "plain",