summaryrefslogtreecommitdiff
path: root/modules/font-config.el
diff options
context:
space:
mode:
Diffstat (limited to 'modules/font-config.el')
-rw-r--r--modules/font-config.el26
1 files changed, 19 insertions, 7 deletions
diff --git a/modules/font-config.el b/modules/font-config.el
index 1541f55f..25026efc 100644
--- a/modules/font-config.el
+++ b/modules/font-config.el
@@ -53,26 +53,33 @@
(setq fontaine-presets
'(
(default
- :default-family "FiraCode Nerd Font Mono"
+ :default-family "Berkeley Mono"
:default-weight regular
:default-height 110
:fixed-pitch-family nil ;; falls back to :default-family
:fixed-pitch-weight nil ;; falls back to :default-weight
:fixed-pitch-height 1.0
- :variable-pitch-family "Merriweather"
- :variable-pitch-weight light
+ :variable-pitch-family "Lexend"
+ :variable-pitch-weight regular
:variable-pitch-height 1.0)
+ (FiraCode
+ :default-family "FiraCode Nerd Font Mono"
+ :variable-pitch-family "Merriweather"
+ :variable-pitch-weight light)
(Hack
:default-family "Hack Nerd Font Mono"
:variable-pitch-family "Hack Nerd Font Mono")
+ (BerkeleyMono
+ :default-family "Berkeley Mono"
+ :variable-pitch-family "Charis SIL")
(FiraCode-Literata
:default-family "Fira Code Nerd Font"
:variable-pitch-family "Literata")
(EBook
- :default-family "Merriweather"
+ :default-family "Lexend"
:default-weight regular
:default-height 200
- :variable-pitch-family "Merriweather")
+ :variable-pitch-family "Lexend")
(24-point-font
:default-height 240)
(20-point-font
@@ -142,7 +149,6 @@ If FRAME is nil, uses the selected frame."
;; ----------------------------- Font Install Check ----------------------------
;; convenience function to indicate whether a font is available by name.
-;;;###autoload
(defun cj/font-installed-p (font-name)
"Check if font with FONT-NAME is available."
(if (find-font (font-spec :name font-name))
@@ -224,7 +230,6 @@ If FRAME is nil, uses the selected frame."
;; -------------------------- Display Available Fonts --------------------------
;; display all available fonts on the system in a side panel
-;;;###autoload
(defun cj/display-available-fonts ()
"Display a list of all font faces with sample text in another read-only buffer."
(interactive)
@@ -286,5 +291,12 @@ If FRAME is nil, uses the selected frame."
"<~" "<~~" "</" "</>" "~@" "~-" "~>" "~~" "~~>" "%%"))
(global-ligature-mode t))
+;; which-key labels
+(with-eval-after-load 'which-key
+ (which-key-add-key-based-replacements
+ "C-c E" "emojify menu"
+ "C-c E i" "insert emoji"
+ "C-c E l" "list emojis"))
+
(provide 'font-config)
;;; font-config.el ends here