diff options
author | jao <jao@gnu.org> | 2022-04-14 03:28:23 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-04-14 03:28:23 +0100 |
commit | 8cd2e8df81f3c61395bd16f4f2c0e6de46c82f07 (patch) | |
tree | f72ef05a82d362bcaafa0cb63e219b09c52e1a25 /init.org | |
parent | 107db50163d21852fe6c25a8eb8b2b308c3ddb4e (diff) | |
download | elibs-8cd2e8df81f3c61395bd16f4f2c0e6de46c82f07.tar.gz elibs-8cd2e8df81f3c61395bd16f4f2c0e6de46c82f07.tar.bz2 |
themes: default face family and size
Diffstat (limited to 'init.org')
-rw-r--r-- | init.org | 14 |
1 files changed, 5 insertions, 9 deletions
@@ -377,9 +377,6 @@ (setq custom-theme-directory (expand-file-name "lib/themes" jao-emacs-dir)) - (defvar jao-default-font "Hack-9") ;; "Fira Code-9" - (setq jao-default-font "Roboto Mono-9") - (require 'jao-themes) (defvar jao-theme-dark 'jao-dark) @@ -387,7 +384,8 @@ (defun jao-themes-setup () (let ((dark (jao-colors-scheme-dark-p))) - (load-theme (if dark jao-theme-dark jao-theme-light) t))) + (load-theme (if dark jao-theme-dark jao-theme-light) t) + (modify-all-frames-parameters `((font . ,jao-themes-default-face))))) (when (and window-system (not (eq window-system 'pgtk))) (jao-themes-setup)) @@ -1232,17 +1230,15 @@ *** Frame geometry #+begin_src emacs-lisp (setq frame-resize-pixelwise nil) - ;;; modeline, toolbars and co. (modify-all-frames-parameters `((horizontal-scroll-bars . nil) (vertical-scroll-bars . nil) (scroll-bar-width . 11) - (menu-bar . nil) - (font . ,jao-default-font))) + (menu-bar . nil))) #+end_src *** Frame layout, title, etc. - #+BEGIN_SRC emacs-lisp + #+begin_src emacs-lisp (setq frame-title-format '("%b")) (use-package fringe) (fringe-mode) @@ -1276,7 +1272,7 @@ (jao-trisect t) (next-window) (delete-window)) - #+END_SRC + #+end_src *** afio #+begin_src emacs-lisp (use-package jao-afio) |