From 350884bb7afdb215fd73ba685063f9677303c209 Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Sat, 20 Jun 2020 04:00:46 +0000 Subject: [PATCH] Added automatic font alternatives and EXWM mode --- config.org | 20 +++++++++++++++++--- 1 files changed, 17 insertions(+), 3 deletions(-) diff --git a/config.org b/config.org index 74c2559..ea4a512 100644 --- a/config.org +++ b/config.org @@ -61,9 +61,13 @@ ** Default font Set default font and faces. #+BEGIN_SRC emacs-lisp - ;; (set-frame-font "DejaVu Sans Mono" nil t) - (set-frame-font "Dank Mono-11" nil t) - ;; (set-frame-font "Source Code Pro-10" nil t) + (cond ((member "Dank Mono" (font-family-list)) + (set-frame-font "Dank Mono-11" nil t)) + ((member "DejaVu Sans Mono" (font-family-list)) + (set-frame-font "DejaVu Sans Mono" nil t)) + ((member "Source Code Pro" (font-family-list)) + (set-frame-font "Source Code Pro-10" nil t))) + (set-face-italic 'font-lock-comment-face t) (set-face-italic 'font-lock-keyword-face t) #+END_SRC @@ -75,6 +79,16 @@ (tool-bar-mode 0) (scroll-bar-mode 1) #+END_SRC +* COMMENT EXWM +Emacs window manager. +Tiling window manager that runs in emacs. +#+BEGIN_SRC emacs-lisp + (use-package exwm + :ensure t + :config + (require 'exwm-config) + (exwm-config-default)) +#+END_SRC * Writing requirements ** Spellchecking -- Gitblit v1.9.3