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
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]]
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
(setq doom-font (font-spec :family "FuraCode Nerd Font Mono" :size 12) ; Set font
doom-theme 'doom-molokai) ; Set theme
(when window-system
(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
Fetch password from authinfo
@ -88,7 +96,7 @@ Require package
(after! org
(add-to-list 'org-capture-templates '("w" "Web site" entry
(file+olp "~/Documents/org/web.org" "Web")
"* %c\n%U %?%:initial"))
"* %c\n%U %?%:initial"))
)
#+END_SRC
* [[https://github.com/Lautaro-Garcia/counsel-spotify][Counsel Spotify]]