Skip to content

Commit

Permalink
Tweak font sizes and load the right file on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
daviwil committed Oct 24, 2020
1 parent db44046 commit dc1b5d2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Emacs.org
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ I am using the [[https://github.com/tonsky/FiraCode][Fira Code]] and [[https://f
(set-face-attribute 'fixed-pitch nil :font "Fira Code Retina" :height efs/default-font-size)

;; Set the variable pitch face
(set-face-attribute 'variable-pitch nil :font "Cantarell" :height efs/default-font-size :weight 'regular)
(set-face-attribute 'variable-pitch nil :font "Cantarell" :height efs/default-variable-font-size :weight 'regular)

#+end_src

Expand Down
2 changes: 1 addition & 1 deletion init.el
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
(set-face-attribute 'fixed-pitch nil :font "Fira Code Retina" :height efs/default-font-size)

;; Set the variable pitch face
(set-face-attribute 'variable-pitch nil :font "Cantarell" :height efs/default-font-size :weight 'regular)
(set-face-attribute 'variable-pitch nil :font "Cantarell" :height efs/default-variable-font-size :weight 'regular)

;; Make ESC quit prompts
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
Expand Down
2 changes: 1 addition & 1 deletion run-emacs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# necessary tweaks in stream-tweaks.el that are only meant for use in the live
# stream.

emacs -Q --load stream-tweaks.el --load init.el init.el
emacs -Q --load stream-tweaks.el --load init.el Emacs.org
4 changes: 2 additions & 2 deletions stream-tweaks.el
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
;; Don't use my own package folder by accident
(setq package-user-dir "~/Projects/Code/emacs-from-scratch/packages")

(setq efs/default-font-size 280)
(setq efs/default-variable-font-size 290)
(setq efs/default-font-size 300)
(setq efs/default-variable-font-size 340)

0 comments on commit dc1b5d2

Please sign in to comment.