Some fonts, and some oh-my-posh theme tweaks

This commit is contained in:
Gal Szkolnik 2022-05-23 01:40:15 -04:00
parent db7b065b6c
commit 48106680a8
3 changed files with 51 additions and 40 deletions

View File

@ -1,33 +1,44 @@
['my/code/from_web/chemacs2'] ["my/code/from_web/chemacs2"]
type = 'git-repo' type = "git-repo"
url = 'https://github.com/plexus/chemacs2.git' url = "https://github.com/plexus/chemacs2.git"
refreshPeriod = '168h' # 7 days refreshPeriod = "168h" # 7 days
['.emacs.my/spacemacs/emacs.d'] [".emacs.my/spacemacs/emacs.d"]
type = 'git-repo' type = "git-repo"
url = 'https://github.com/syl20bnr/spacemacs.git' url = "https://github.com/syl20bnr/spacemacs.git"
clone.args = ['--depth=1','--branch=develop'] clone.args = ["--depth=1","--branch=develop"]
refreshPeriod = '168h' # 7 days refreshPeriod = "168h" # 7 days
# ['my/code/from_web/nerd-fonts'] # ["my/code/from_web/nerd-fonts"]
# type = 'git-repo' # type = "git-repo"
# url = 'https://github.com/ryanoasis/nerd-fonts.git' # url = "https://github.com/ryanoasis/nerd-fonts.git"
# clone.args = ['--depth=1'] # clone.args = ["--depth=1"]
# refreshPeriod = '168h' # 7 days # refreshPeriod = "168h" # 7 days
['.local/share/fonts/NerdFonts'] [".local/share/fonts/NF_CodeNewRoman"]
type = 'archive' type = "archive"
url = 'https://github.com/ryanoasis/nerd-fonts/releases/download/2.2.0-RC/CodeNewRoman.zip' # url = "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/CodeNewRoman.zip"
url = "https://github.com/ryanoasis/nerd-fonts/releases/download/2.2.0-RC/CodeNewRoman.zip"
exact = true exact = true
refreshPeriod = '168h' # 7 days # refreshPeriod = "168h" # 7 days
refreshPeriod = "10s"
['.local/bin/oh-my-posh'] [".local/share/fonts/NF_FiraCode"]
type = 'file' type = "archive"
url = 'https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/posh-linux-amd64' # url = "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/FiraCode.zip"
url = "https://github.com/ryanoasis/nerd-fonts/releases/download/2.2.0-RC/FiraCode.zip"
exact = true
# refreshPeriod = "168h" # 7 days
refreshPeriod = "10s"
[".local/bin/oh-my-posh"]
type = "file"
url = "https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/posh-linux-amd64"
executable = true executable = true
['.poshthemes'] [".poshthemes"]
type = 'archive' type = "archive"
url = 'https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/themes.zip' url = "https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/themes.zip"
exact = true exact = true
refreshPeriod = '168h' # 7 days refreshPeriod = "168h" # 7 days

View File

@ -1 +1 @@
.local/share/fonts/NerdFonts/* .local/share/fonts/.uuid

View File

@ -9,7 +9,7 @@
"foreground": "#000000", "foreground": "#000000",
"leading_diamond": "\u256d\u2500\ue0b2", "leading_diamond": "\u256d\u2500\ue0b2",
"style": "diamond", "style": "diamond",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ", "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}",
"type": "os" "type": "os"
}, },
{ {
@ -21,7 +21,7 @@
"style": "full" "style": "full"
}, },
"style": "powerline", "style": "powerline",
"template": " \uf07c {{ .Path }} ", "template": " \uf07c {{ .Path }}",
"type": "path" "type": "path"
}, },
{ {
@ -41,7 +41,7 @@
"fetch_upstream_icon": true "fetch_upstream_icon": true
}, },
"style": "powerline", "style": "powerline",
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ 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 }} \uf692 {{ .StashCount }}{{ end }} ", "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ 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 }} \uf692 {{ .StashCount }}{{ end }}",
"type": "git" "type": "git"
} }
], ],
@ -59,7 +59,7 @@
"fetch_version": true "fetch_version": true
}, },
"style": "powerline", "style": "powerline",
"template": " {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} \uf898 ", "template": "{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} \uf898 ",
"type": "node" "type": "node"
}, },
{ {
@ -71,7 +71,7 @@
"fetch_version": true "fetch_version": true
}, },
"style": "powerline", "style": "powerline",
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \ue627 ", "template": "{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \ue627 ",
"type": "go" "type": "go"
}, },
{ {
@ -83,7 +83,7 @@
"fetch_version": true "fetch_version": true
}, },
"style": "powerline", "style": "powerline",
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \ue624 ", "template": "{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \ue624 ",
"type": "julia" "type": "julia"
}, },
{ {
@ -96,7 +96,7 @@
"fetch_virtual_env": false "fetch_virtual_env": false
}, },
"style": "powerline", "style": "powerline",
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \ue235 ", "template": "{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \ue235 ",
"type": "python" "type": "python"
}, },
{ {
@ -109,7 +109,7 @@
"fetch_version": true "fetch_version": true
}, },
"style": "powerline", "style": "powerline",
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \ue791 ", "template": "{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \ue791 ",
"type": "ruby" "type": "ruby"
}, },
{ {
@ -122,7 +122,7 @@
"fetch_version": false "fetch_version": false
}, },
"style": "powerline", "style": "powerline",
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \uf0e7", "template": "{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \uf0e7",
"type": "azfunc" "type": "azfunc"
}, },
{ {
@ -137,7 +137,7 @@
"display_default": false "display_default": false
}, },
"style": "powerline", "style": "powerline",
"template": " {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} \ue7ad ", "template": "{{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} \ue7ad ",
"type": "aws" "type": "aws"
}, },
{ {
@ -146,7 +146,7 @@
"invert_powerline": true, "invert_powerline": true,
"powerline_symbol": "\ue0b2", "powerline_symbol": "\ue0b2",
"style": "powerline", "style": "powerline",
"template": " \uf0ad ", "template": "\uf0ad ",
"type": "root" "type": "root"
}, },
{ {
@ -155,7 +155,7 @@
"invert_powerline": true, "invert_powerline": true,
"powerline_symbol": "\ue0b2", "powerline_symbol": "\ue0b2",
"style": "powerline", "style": "powerline",
"template": " {{ .FormattedMs }} \uf252 ", "template": "{{ .FormattedMs }} \uf252 ",
"type": "executiontime" "type": "executiontime"
}, },
{ {
@ -170,7 +170,7 @@
"always_enabled": true "always_enabled": true
}, },
"style": "powerline", "style": "powerline",
"template": " {{ if gt .Code 0 }}{{ .Meaning }}{{ else }}\u2714{{ end }} ", "template": "{{ if gt .Code 0 }}{{ .Meaning }}{{ else }}\u2714{{ end }} ",
"type": "exit" "type": "exit"
}, },
{ {
@ -178,7 +178,7 @@
"foreground": "#000000", "foreground": "#000000",
"invert_powerline": true, "invert_powerline": true,
"style": "diamond", "style": "diamond",
"template": " {{ .CurrentDate | date .Format }} \uf017 ", "template": "{{ .CurrentDate | date .Format }} \uf017 ",
"trailing_diamond": "\ue0b0\u2500\u256e", "trailing_diamond": "\ue0b0\u2500\u256e",
"type": "time" "type": "time"
} }