summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/general.el11
1 files changed, 7 insertions, 4 deletions
diff --git a/lisp/general.el b/lisp/general.el
index 3bf1072..a639b0d 100644
--- a/lisp/general.el
+++ b/lisp/general.el
@@ -11,6 +11,8 @@
kept-old-versions 2
version-control t)
+(add-to-list 'default-frame-alist '(font . "JetBrains Mono-10"))
+
;; Initial major mode
(setq initial-major-mode 'text-mode)
@@ -57,11 +59,12 @@
(setq-default indent-tabs-mode nil) ; use spaces only if nil
(setq-default tab-width 2) ; Assuming you want your tabs to be four spaces wide
-(setq default-font "JetBrains Mono Nerd")
-(setq default-font-size 14)
-(setq current-font-size default-font-size)
+(set-face-attribute 'default nil
+ :family "JetBrains Mono"
+ :height 100
+ :weight 'normal
+ :width 'normal)
-;;(set-face-attribute 'default nil :height 110 :family "Consolas")
(set-language-environment "UTF-8")
(set-default-coding-systems 'utf-8)