From 5e251ae10502a40e5abfdf2df6662d44d769f5da Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Tue, 5 Sep 2023 12:32:27 +0000 Subject: [PATCH] emacs hates me --- config/emacs/init.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config/emacs/init.el b/config/emacs/init.el index e13d42f8..ee020829 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -22,7 +22,7 @@ (setq visible-bell t) ;; Font -(set-face-attribute `default nil :font "JetBrainsMono NF" :height 150) +(set-face-attribute `default nil :font "JetBrains Mono" :height 150) ;; Keymaps (global-set-key (kbd "C-M-j") 'counsel-switch-buffer) @@ -117,7 +117,11 @@ :custom ((doom-modeline-height 35))) ;; all the icons -(use-package all-the-icons) +(when (display-graphic-p) + (require 'all-the-icons)) +;; or +(use-package all-the-icons + :if (display-graphic-p)) ;; continue configuring from here ;; https://youtu.be/74zOY-vgkyw?t=3125