1
0
Fork 0

feat: update fonts

This commit is contained in:
Kim, Jimin 2024-04-14 22:13:04 +09:00
parent 74e4583cbf
commit 3ca9ef21f2
Signed by: pomp
GPG key ID: 2B516173EDD492EB
4 changed files with 22 additions and 17 deletions

View file

@ -102,6 +102,7 @@
"mattjakeman", "mattjakeman",
"MAXTILL", "MAXTILL",
"mechatroner", "mechatroner",
"Meslo",
"metasploit", "metasploit",
"mhutchie", "mhutchie",
"mijorus", "mijorus",

View file

@ -1,6 +1,6 @@
{ {
// aesthetic // aesthetic
"editor.fontFamily": "'Noto Sans Mono', 'Iosevka', 'D2Coding'", "editor.fontFamily": "'Noto Sans Mono', 'MesloLGS NF'",
"workbench.colorTheme": "One Dark Pro Flat", "workbench.colorTheme": "One Dark Pro Flat",
"workbench.iconTheme": "material-icon-theme", "workbench.iconTheme": "material-icon-theme",

View file

@ -1,2 +1,3 @@
linux_display_server X11 linux_display_server X11
background_opacity 0.75 background_opacity 0.75
font_family MesloLGS NF

View file

@ -15,29 +15,32 @@ func init() {
Name: "Fonts", Name: "Fonts",
Desc: "fonts", Desc: "fonts",
Setup: func() { Setup: func() {
// https://github.com/google/fonts
var fonts = [...]string{ var fonts = [...]string{
// General
"ttf-ms-fonts", // MS fonts "ttf-ms-fonts", // MS fonts
"adobe-source-han-sans-otc-fonts", // Korean font
"ttf-baekmuk", // Korean font
"unicode-emoji", // Colorful emoji
"ttf-nerd-fonts-symbols-mono", // Nerd font
"ttf-d2coding-nerd", // Korean coding font
"noto-fonts",
"noto-fonts-cjk",
"noto-fonts-emoji",
"noto-fonts-extra",
"https://github.com/google/fonts/raw/main/ofl/audiowide/Audiowide-Regular.ttf", "https://github.com/google/fonts/raw/main/ofl/audiowide/Audiowide-Regular.ttf",
"https://github.com/google/fonts/raw/main/ofl/varelaround/VarelaRound-Regular.ttf",
"https://github.com/google/fonts/raw/main/ofl/notosans/NotoSans%5Bwdth,wght%5D.ttf", "https://github.com/google/fonts/raw/main/ofl/notosans/NotoSans%5Bwdth,wght%5D.ttf",
"https://github.com/google/fonts/raw/main/ofl/notosans/NotoSans-Italic%5Bwdth,wght%5D.ttf", "https://github.com/google/fonts/raw/main/ofl/notosans/NotoSans-Italic%5Bwdth,wght%5D.ttf",
"https://github.com/google/fonts/raw/main/ofl/notosanskr/NotoSansKR%5Bwght%5D.ttf",
"https://github.com/google/fonts/raw/main/ofl/notosansjp/NotoSansJP%5Bwght%5D.ttf", // Emoji
"unicode-emoji", // Colored emojis
"noto-fonts-emoji",
// Chinese
"https://github.com/google/fonts/raw/main/ofl/notosanstc/NotoSansTC%5Bwght%5D.ttf", "https://github.com/google/fonts/raw/main/ofl/notosanstc/NotoSansTC%5Bwght%5D.ttf",
"https://github.com/google/fonts/raw/main/ofl/notosanssc/NotoSansSC%5Bwght%5D.ttf", "https://github.com/google/fonts/raw/main/ofl/notosanssc/NotoSansSC%5Bwght%5D.ttf",
// Japanese
"https://github.com/google/fonts/raw/main/ofl/notosansjp/NotoSansJP%5Bwght%5D.ttf",
// Korean
"adobe-source-han-sans-kr-fonts",
"ttf-baekmuk",
"https://github.com/google/fonts/raw/main/ofl/notosanskr/NotoSansKR%5Bwght%5D.ttf",
// coding (monospaced)
"https://github.com/google/fonts/raw/main/ofl/notosansmono/NotoSansMono%5Bwdth,wght%5D.ttf", "https://github.com/google/fonts/raw/main/ofl/notosansmono/NotoSansMono%5Bwdth,wght%5D.ttf",
"https://github.com/google/fonts/raw/main/ofl/nanumgothiccoding/NanumGothicCoding-Regular.ttf", "https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Regular.ttf", // https://github.com/romkatv/powerlevel10k?tab=readme-ov-file#fonts
"https://github.com/google/fonts/raw/main/ofl/nanumgothiccoding/NanumGothicCoding-Bold.ttf",
} }
fontsDir := wrapper.InHome(".local/share/fonts") fontsDir := wrapper.InHome(".local/share/fonts")