Skip to content

Commit

Permalink
Merge pull request #240 from jessebot/minor-updates
Browse files Browse the repository at this point in the history
add victor mono font, and update some dependencies
  • Loading branch information
cloudymax authored Oct 20, 2023
2 parents 1abc8ab + ce4ce63 commit 400f853
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 25 deletions.
13 changes: 8 additions & 5 deletions onboardme/ide_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ def font_setup() -> None:
"""
if 'Linux' in OS:
print_header('📝 [i]font[/i] installations')
# not sure if needed anymore
# mkdir -p ~/.local/share/fonts

fonts_dir = f'{HOME_DIR}/repos/nerd-fonts'

# do a shallow clone of the repo
Expand Down Expand Up @@ -57,12 +54,18 @@ def update(self, op_code, cur_count, max_count=None,

Repo.clone_from(fonts_repo, fonts_dir, progress=CloneProgress(),
multi_options=['--sparse', '--filter=blob:none'])
cmds = ["git sparse-checkout add patched-fonts/Mononoki"]
cmds = ["git sparse-checkout add patched-fonts/Mononoki",
"git sparse-checkout add patched-fonts/VictorMono",
"git sparse-checkout add patched-fonts/NerdFontsSymbolsOnly",
]
subproc(cmds, spinner=True, cwd=fonts_dir)
else:
subproc(["git pull"], spinner=True, cwd=fonts_dir)

subproc(['./install.sh Mononoki'], quiet=True,
subproc(['./install.sh Mononoki',
'./install.sh VictorMono',
'./install.sh NerdFontsSymbolsOnly'],
quiet=True,
cwd=fonts_dir)

print_msg('[i][dim]The fonts should be installed, however, you have ' +
Expand Down
34 changes: 17 additions & 17 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "onboardme"
version = "1.6.1"
version = "1.7.0"
description = "Install dot files and packages, including a base mode with sensible defaults to run on most computers running Debian based distros or macOS."
authors = [
"Jesse Hitch <[email protected]>",
Expand All @@ -24,14 +24,14 @@ include = ["onboardme/scripts/update_apt_sources.sh"]
[tool.poetry.dependencies]
python = "^3.11"
click = "^8.1"
rich = "^13.4"
rich = "^13.6"
PyYAML = "^6.0"
GitPython = "^3.1"
wget = "^3.2"
xdg-base-dirs = "^6.0"

[tool.poetry.group.dev.dependencies]
pre-commit = "^3.3"
pre-commit = "^3.5"

[tool.poetry.plugins."onboardme.application.plugin"]
"onboardme" = "onboardme:main"
Expand Down

0 comments on commit 400f853

Please sign in to comment.