-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathbrown-init.el
29 lines (28 loc) · 1.07 KB
/
brown-init.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
;;;; Font
(when (display-graphic-p)
(luna-enable-apple-emoji)
(luna-load-font 'default "Cascadia" 14)
(luna-load-font 'fixed-pitch "Cascadia" 14)
(luna-load-font 'variable-pitch "Academica" 16)
(luna-load-font 'fixed-pitch-serif "Cascadia" 14)
(luna-load-font 'mode-line "Arial" 12 :weight 'regular :height 125)
(with-eval-after-load 'shortdoc
(luna-load-font 'shortdoc-section "Arial" 13
:weight 'medium :height 150))
(add-hook 'luna-load-theme-hook
(lambda ()
(luna-load-font 'mode-line "Arial" 12
:weight 'regular :height 125))))
;;;; Frame
(when (display-graphic-p)
(set-frame-width (selected-frame) 150)
(set-frame-height (selected-frame) 44)
(set-frame-position nil 30 50))
;;;; Environment
(if luna-dumped
(dolist (var luna-env-vars)
(exec-path-from-shell-setenv (car var) (cdr var)))
(exec-path-from-shell-initialize))
(add-to-list 'load-path "/opt/local/share/emacs/site-lisp")
(setq source-directory (expand-file-name "~/emacs-head"))
(setq xref-search-program 'ripgrep)