1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

Added variable font size

This commit is contained in:
Ryan Kes 2019-12-19 00:18:57 +01:00
parent 2c2b316a1a
commit adef4c3a63

View File

@ -1,10 +1,18 @@
* General settings * General settings
Set fonts to a [[https://www.nerdfonts.com/][Nerd Fonts]] patched version of [[https://github.com/tonsky/FiraCode][Fira Code]]. Theme is set to
doom-molokai from [[https://github.com/hlissner/emacs-doom-themes][doom-themes]]
[[https://raw.githubusercontent.com/hlissner/emacs-doom-themes/screenshots/doom-molokai.png][doom-molokai screenshot]] [[https://raw.githubusercontent.com/hlissner/emacs-doom-themes/screenshots/doom-molokai.png][doom-molokai screenshot]]
Variable font sizes depending on screen width. Set font to a [[https://www.nerdfonts.com/][Nerd Fonts]] patched version of [[https://github.com/tonsky/FiraCode][Fira Code]]
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(setq doom-font (font-spec :family "FuraCode Nerd Font Mono" :size 12) ; Set font (when window-system
doom-theme 'doom-molokai) ; Set theme (if (> (x-display-pixel-width) 2560)
(setq doom-font (font-spec :family "FuraCode Nerd Font Mono" :size 12))
(setq doom-font (font-spec :family "FuraCode Nerd Font Mono" :size 16))))
#+END_SRC
Theme is set to doom-molokai from [[https://github.com/hlissner/emacs-doom-themes][doom-themes]]
#+BEGIN_SRC emacs-lisp
(setq doom-theme 'doom-molokai)
#+END_SRC #+END_SRC
Fetch password from authinfo Fetch password from authinfo