Merge branch 'make-font-configurable' into 'master'

Make font configurable

See merge request FG42/FG42!11
This commit is contained in:
Sameer Rahmani 2020-02-23 16:25:25 +00:00
commit d6a5c8d803
3 changed files with 10 additions and 5 deletions

View File

@ -56,10 +56,10 @@
(setq delete-old-versions t)
;; Font Configuration -----------------------------------
(ability fira-font ()
"Sets the default font to Fira Mono"
(add-to-list 'default-frame-alist '(font . "Fira Mono"))
(set-face-attribute 'default t :font "Fira Mono"))
(ability font ()
"Sets the default font to fg42 font"
(add-to-list 'default-frame-alist '(cons 'font fg42-font))
(set-face-attribute 'default t :font fg42-font))
;; ------------------------------------------------------
(cheatsheet-add :group '--HELP--

View File

@ -42,5 +42,4 @@ it inserts comment at the end of the line."
(interactive) (join-line -1))))
(provide 'extensions/editor/utils)

View File

@ -66,5 +66,11 @@ with is the buffer."
(put-text-property 0 (length text) 'face face-symbol text))
(setq fg42-font "Fira Mono")
(defun fg42-font (font)
(setq fg42-font font))
(provide 'fg42/utils)
;;; utils.el ends here