aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesus E <heckyel@riseup.net>2023-05-13 16:52:21 -0400
committerJesus E <heckyel@riseup.net>2023-05-13 16:52:21 -0400
commit821b54fe2a33ca01b6b24e1485f6a2b638829c48 (patch)
tree5311313799f8f63eabdda9f4f7d012328ea38814
parent749a1cb33f8e83436c0f304b1b5e29ee2042153d (diff)
downloademacs-personal-821b54fe2a33ca01b6b24e1485f6a2b638829c48.tar.lz
emacs-personal-821b54fe2a33ca01b6b24e1485f6a2b638829c48.tar.xz
emacs-personal-821b54fe2a33ca01b6b24e1485f6a2b638829c48.zip
improve gui+
-rw-r--r--modules/init-gui.el9
1 files changed, 3 insertions, 6 deletions
diff --git a/modules/init-gui.el b/modules/init-gui.el
index 50437ae..bca7905 100644
--- a/modules/init-gui.el
+++ b/modules/init-gui.el
@@ -54,13 +54,10 @@
(lambda ()
(setq line-spacing 0)))
-;; Font theme (Monospace, or DejaVu Sans Mono if Monospace is not
-;; present)
-(condition-case nil
+;; Font theme (DejaVu Sans Mono if Hack isn't present)
+(if (member "Hack" (font-family-list))
(set-frame-font "Hack-9")
- ;; (set-frame-font "Monospace-9")
- ;; (set-frame-font "Anonymous Pro-10")
- (error (set-frame-font "DejaVu Sans Mono-10")))
+ (set-frame-font "DejaVu Sans Mono-10"))
;;----------------------------------------------------------------------------
;; Configure keys