diff --git a/home-manager/modules/emacs/config.org b/home-manager/modules/emacs/config.org index cc3407a..5236994 100644 --- a/home-manager/modules/emacs/config.org +++ b/home-manager/modules/emacs/config.org @@ -55,9 +55,9 @@ Setting =lexical-binding= to =t= can improve startup time. This has to be first! This sets some variables with my personal preferences for easy customization #+begin_src emacs-lisp - (defvar my/default-font "MonaspiceNe Nerd Font") + (defvar my/default-font "RecMonoLinear Nerd Font") (defvar my/variable-width-font "Iosevka Aile") - (defvar my/comment-font "MonaspiceRn Nerd Font") + (defvar my/comment-font "RecMonoCasual Nerd Font") (defvar my/default-font-height 120) (defvar my/default-font-weight 'light) (defvar my/default-font-width 'normal) @@ -431,33 +431,35 @@ Emoji support Enable ligatures #+begin_src emacs-lisp + (setq iosevka-ligatures '("<---" "<--" "<<-" "<-" "->" "-->" "--->" "<->" "<-->" "<--->" "<---->" "" "<~" "<~~" "~>" "~~>" "<~>" + ; ss04 + "" "" "/\\" "\\/" + ; ss05 + "|>" "<|" + ; ss06 + "##" "###" + ; ss07 + "***" "/*" "*/" "/*/" "(*" "*)" "(*)" + ; ss08 + ".=" ".-" "..<" + ; dlig & calt + "" ":<" "!!" ">:" "<:" "#=" "?:" "?." "??" ";;" "///" ":::" "..." "=!=" "=:=" "..=" "..-")) + (use-package ligature :config ;; Enable all Iosevka ligatures in programming modes - ;; (ligature-set-ligatures 'prog-mode '("<---" "<--" "<<-" "<-" "->" "-->" "--->" "<->" "<-->" "<--->" "<---->" "" "<~" "<~~" "~>" "~~>" "<~>" - ; ss04 - "" "" "/\\" "\\/" - ; ss05 - "|>" "<|" - ; ss06 - "##" "###" - ; ss07 - "***" "/*" "*/" "/*/" "(*" "*)" "(*)" - ; ss08 - ".=" ".-" "..<" - ; dlig & calt - "" ":<" "!!" ">:" "<:" "#=" "?:" "?." "??" ";;" "///" ":::" "..." "=!=" "=:=" "..=" "..-")) ;; Enables ligature checks globally in all buffers. You can also do it ;; per mode with `ligature-mode'. (global-ligature-mode t)) diff --git a/modules/fonts/default.nix b/modules/fonts/default.nix index def5de0..3ff0747 100644 --- a/modules/fonts/default.nix +++ b/modules/fonts/default.nix @@ -33,6 +33,7 @@ in "Meslo" "Monaspace" "Noto" + "Recursive" ]; }) corefonts @@ -42,6 +43,7 @@ in material-icons monaspace noto-fonts-emoji + recursive ttf_bitstream_vera twitter-color-emoji ]