diff --git a/emacs/.config/doom/configuration.org b/emacs/.config/doom/configuration.org index 8a16c86..27ea354 100644 --- a/emacs/.config/doom/configuration.org +++ b/emacs/.config/doom/configuration.org @@ -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]] +[[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]]