浏览代码

[emacs] New default theme and font sizes

Colin Powell 4 年之前
父节点
当前提交
a85baa4898
共有 3 个文件被更改,包括 11 次插入12 次删除
  1. 3 3
      emacs/.doom.d/config.el
  2. 6 7
      emacs/.doom.d/config.org
  3. 2 2
      emacs/.doom.d/custom.el

+ 3 - 3
emacs/.doom.d/config.el

@@ -3,9 +3,9 @@
 
 
 (setq ivy-read-action-function #'ivy-hydra-read-action)
 (setq ivy-read-action-function #'ivy-hydra-read-action)
 
 
-(setq doom-theme 'kaolin-galaxy
-      doom-font (font-spec :family "JetBrains Mono NL" :size 14 :weight 'semi-light)
-      doom-big-font (font-spec :family "JetBrains Mono NL" :size 18)
+(setq doom-theme 'doom-gruvbox
+      doom-font (font-spec :family "JetBrains Mono NL" :size 12 :weight 'semi-light)
+      doom-big-font (font-spec :family "JetBrains Mono NL" :size 16)
       doom-variable-pitch-font (font-spec :family "Overpass" :size 16))
       doom-variable-pitch-font (font-spec :family "Overpass" :size 16))
 
 
 ;; Applies to current frame
 ;; Applies to current frame

+ 6 - 7
emacs/.doom.d/config.org

@@ -18,9 +18,9 @@ I change my default theme almost as often as the weather. I tend to revert back
 to Doom One most of the time, but I like the Kaolin themes, as well as Nimbus
 to Doom One most of the time, but I like the Kaolin themes, as well as Nimbus
 for it's retro charm. Nimbus just doesn't look great when I'm tired though.
 for it's retro charm. Nimbus just doesn't look great when I'm tired though.
 #+BEGIN_SRC emacs-lisp
 #+BEGIN_SRC emacs-lisp
-(setq doom-theme 'kaolin-galaxy
-      doom-font (font-spec :family "JetBrains Mono NL" :size 14 :weight 'semi-light)
-      doom-big-font (font-spec :family "JetBrains Mono NL" :size 18)
+(setq doom-theme 'doom-gruvbox
+      doom-font (font-spec :family "JetBrains Mono NL" :size 12 :weight 'semi-light)
+      doom-big-font (font-spec :family "JetBrains Mono NL" :size 16)
       doom-variable-pitch-font (font-spec :family "Overpass" :size 16))
       doom-variable-pitch-font (font-spec :family "Overpass" :size 16))
 #+END_SRC
 #+END_SRC
 ** Borders
 ** Borders
@@ -175,7 +175,9 @@ How I went about [[file:/usr/home/powellc/var/org/20200916134500-vale_prose_lint
 #+END_SRC
 #+END_SRC
 * Org-mode
 * Org-mode
 ** Basic configuration
 ** Basic configuration
-A handful of mods here clean up org mode. Line numbers don’t mean much when you’re folding and unfolding all the time. I also really enjoy the typography of a serif font when I’m writing a lot of words.
+A handful of mods here clean up org mode. Line numbers don’t mean much when
+you’re folding and unfolding all the time. I also really enjoy the typography of
+a serif font when I’m writing a lot of words.
 #+BEGIN_SRC emacs-lisp
 #+BEGIN_SRC emacs-lisp
 (add-hook 'org-mode-hook #'doom-disable-line-numbers-h)
 (add-hook 'org-mode-hook #'doom-disable-line-numbers-h)
 
 
@@ -250,7 +252,6 @@ I am absolutely in love with [[https://org-roam.readthedocs.io/en/develop/][Org-
 #+END_SRC
 #+END_SRC
 ** Org-fc
 ** Org-fc
 Trying a new space-repetition framework.
 Trying a new space-repetition framework.
-
 #+BEGIN_SRC emacs-lisp
 #+BEGIN_SRC emacs-lisp
 (setq org-fc-directories "~/var/org/")
 (setq org-fc-directories "~/var/org/")
 (require 'org-fc-hydra)
 (require 'org-fc-hydra)
@@ -258,7 +259,6 @@ Trying a new space-repetition framework.
 
 
 * Novel
 * Novel
 Reading novels in Emacs, how novel!
 Reading novels in Emacs, how novel!
-
 #+BEGIN_SRC emacs-lisp
 #+BEGIN_SRC emacs-lisp
 (require 'justify-kp)
 (require 'justify-kp)
 ;(setq nov-text-width t)
 ;(setq nov-text-width t)
@@ -335,7 +335,6 @@ I use notmuch to read and write email from within Emacs.
 
 
 * Eshell
 * Eshell
 Handful of fun aliases to make working in Eshell almost like a /real/ shell :smile:
 Handful of fun aliases to make working in Eshell almost like a /real/ shell :smile:
-
 #+BEGIN_SRC emacs-lisp
 #+BEGIN_SRC emacs-lisp
 (after! eshell
 (after! eshell
   (set-eshell-alias!
   (set-eshell-alias!

+ 2 - 2
emacs/.doom.d/custom.el

@@ -9,14 +9,14 @@
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
  ;; If there is more than one, they won't work right.
- '(doom-big-font-mode t)
+ '(doom-big-font-mode nil)
  '(fci-rule-color "#504945")
  '(fci-rule-color "#504945")
  '(jdee-db-active-breakpoint-face-colors (cons "#f0f0f0" "#a89984"))
  '(jdee-db-active-breakpoint-face-colors (cons "#f0f0f0" "#a89984"))
  '(jdee-db-requested-breakpoint-face-colors (cons "#f0f0f0" "#79740e"))
  '(jdee-db-requested-breakpoint-face-colors (cons "#f0f0f0" "#79740e"))
  '(jdee-db-spec-breakpoint-face-colors (cons "#f0f0f0" "#928374"))
  '(jdee-db-spec-breakpoint-face-colors (cons "#f0f0f0" "#928374"))
  '(objed-cursor-color "#9d0006")
  '(objed-cursor-color "#9d0006")
  '(package-selected-packages
  '(package-selected-packages
-   '(leuven-theme openwith caddyfile-mode wordgen w3m vterm-toggle ponylang-mode jq-mode jq-format hackernews elfeed-protocol dired-ranger csv-mode csv counsel-jq blacken))
+   '(wttrin leuven-theme openwith caddyfile-mode wordgen w3m vterm-toggle ponylang-mode jq-mode jq-format hackernews elfeed-protocol dired-ranger csv-mode csv counsel-jq blacken))
  '(pdf-view-midnight-colors (cons "#282828" "#fbf1c7"))
  '(pdf-view-midnight-colors (cons "#282828" "#fbf1c7"))
  '(rustic-ansi-faces
  '(rustic-ansi-faces
    ["#fbf1c7" "#9d0006" "#79740e" "#b57614" "#076678" "#b16286" "#427b58" "#282828"])
    ["#fbf1c7" "#9d0006" "#79740e" "#b57614" "#076678" "#b16286" "#427b58" "#282828"])