Doom Emacs: Seperate out ui configuration
parent
dbfeb0ccb9
commit
c9cb5e3db2
|
@ -0,0 +1,21 @@
|
||||||
|
;;; ../../.dotfiles/doom/.config/doom/+ui.el -*- lexical-binding: t; -*-
|
||||||
|
;;; UI Adjustments
|
||||||
|
|
||||||
|
;; Font!
|
||||||
|
;; Doom exposes five (optional) variables for controlling fonts in Doom:
|
||||||
|
;;
|
||||||
|
;; - `doom-font' -- the primary font to use
|
||||||
|
;; - `doom-variable-pitch-font' -- a non-monospace font (where applicable)
|
||||||
|
;; - `doom-big-font' -- used for `doom-big-font-mode'; use this for
|
||||||
|
;; presentations or streaming.
|
||||||
|
;; - `doom-unicode-font' -- for unicode glyphs
|
||||||
|
;; - `doom-serif-font' -- for the `fixed-pitch-serif' face
|
||||||
|
|
||||||
|
(setq doom-font (font-spec :family "Jetbrains Mono" :size 17))
|
||||||
|
|
||||||
|
;; Theme
|
||||||
|
(setq doom-theme 'doom-gruvbox)
|
||||||
|
|
||||||
|
;; Display
|
||||||
|
(setq display-line-numbers-type 'relative)
|
||||||
|
(menu-bar-mode +1) ; add back menu bar
|
|
@ -4,29 +4,10 @@
|
||||||
;; sync' after modifying this file!
|
;; sync' after modifying this file!
|
||||||
|
|
||||||
(setq user-full-name "earnest ma"
|
(setq user-full-name "earnest ma"
|
||||||
user-mail-address "me@earne.link")
|
user-mail-address "me@earne.link"
|
||||||
|
org-directory "~/org/")
|
||||||
;; Doom exposes five (optional) variables for controlling fonts in Doom:
|
|
||||||
;;
|
|
||||||
;; - `doom-font' -- the primary font to use
|
|
||||||
;; - `doom-variable-pitch-font' -- a non-monospace font (where applicable)
|
|
||||||
;; - `doom-big-font' -- used for `doom-big-font-mode'; use this for
|
|
||||||
;; presentations or streaming.
|
|
||||||
;; - `doom-unicode-font' -- for unicode glyphs
|
|
||||||
;; - `doom-serif-font' -- for the `fixed-pitch-serif' face
|
|
||||||
|
|
||||||
(setq doom-font "Jetbrains Mono 11")
|
|
||||||
|
|
||||||
(setq doom-theme 'doom-gruvbox)
|
|
||||||
|
|
||||||
;; This determines the style of line numbers in effect. If set to `nil', line
|
|
||||||
;; numbers are disabled. For relative line numbers, set this to `relative'.
|
|
||||||
(setq display-line-numbers-type t)
|
|
||||||
|
|
||||||
;; If you use `org' and don't want your org files in the default location below,
|
|
||||||
;; change `org-directory'. It must be set before org loads!
|
|
||||||
(setq org-directory "~/org/")
|
|
||||||
|
|
||||||
|
(load! "+ui")
|
||||||
|
|
||||||
;; Whenever you reconfigure a package, make sure to wrap your config in an
|
;; Whenever you reconfigure a package, make sure to wrap your config in an
|
||||||
;; `after!' block, otherwise Doom's defaults may override your settings. E.g.
|
;; `after!' block, otherwise Doom's defaults may override your settings. E.g.
|
||||||
|
|
Loading…
Reference in New Issue