diff options
| author | 2024-11-05 22:19:09 +0200 | |
|---|---|---|
| committer | 2024-11-05 22:19:09 +0200 | |
| commit | 6692acbe31a3399874aaf1f555b6032aa80e47df (patch) | |
| tree | d1ebcf62fb7ea046f09e3304756729c215d35bbf | |
| parent | doom-modeline config improvements (diff) | |
| download | emacs.d-6692acbe31a3399874aaf1f555b6032aa80e47df.tar.gz emacs.d-6692acbe31a3399874aaf1f555b6032aa80e47df.tar.xz emacs.d-6692acbe31a3399874aaf1f555b6032aa80e47df.zip | |
Auto-install nerd icons
| -rw-r--r-- | init.el | 8 |
1 files changed, 7 insertions, 1 deletions
| @@ -451,7 +451,13 @@ | |||
| 451 | 451 | ||
| 452 | (use-package nerd-icons | 452 | (use-package nerd-icons |
| 453 | :straight t | 453 | :straight t |
| 454 | :commands (nerd-icons-install-fonts)) | 454 | :init |
| 455 | (defun arkta/nerd-icons-maybe-install-fonts () | ||
| 456 | (unless (find-font (font-spec :family nerd-icons-font-family)) | ||
| 457 | ;; TODO: Maybe also reinstall them every month or so | ||
| 458 | (nerd-icons-install-fonts t))) | ||
| 459 | :hook | ||
| 460 | (after-init . arkta/nerd-icons-maybe-install-fonts)) | ||
| 455 | 461 | ||
| 456 | (use-package nix-mode | 462 | (use-package nix-mode |
| 457 | :straight t | 463 | :straight t |