瀏覽代碼

[emacs] JetBrains fonts, why not

Colin Powell 3 年之前
父節點
當前提交
7c443ab72c
共有 2 個文件被更改,包括 35 次插入16 次删除
  1. 17 16
      emacs/.config/doom/config.org
  2. 18 0
      emacs/.config/doom/custom.el

+ 17 - 16
emacs/.config/doom/config.org

@@ -19,8 +19,8 @@ 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.
 #+BEGIN_SRC emacs-lisp
 (setq doom-theme 'farmhouse-dark
-      doom-font (font-spec :family "Go Mono" :size 12 :weight 'regular)
-      doom-big-font (font-spec :family "Go Mono" :size 18)
+      doom-font (font-spec :family "JetBrains Mono" :size 11 :weight 'regular)
+      doom-big-font (font-spec :family "JetBrains Mono" :size 18 :weight 'regular)
       doom-variable-pitch-font (font-spec :family "Overpass" :size 16))
 #+END_SRC
 ** Borders
@@ -107,7 +107,7 @@ Right now, just make sure I can connect to my local Mopidy server via MPDel.
         :desc "MPD Previous track"      "p" #'libmpdel-playback-previous))
 #+END_SRC
 * RSS
-Here we’re going to use TinyTinyRSS as a backend store for our RSS feeds.
+Here we’re going to use Miniflux as a back-end store for our RSS feeds.
 #+BEGIN_SRC emacs-lisp
 (setq elfeed-protocol-fever-maxsize 100)
 (setq elfeed-feeds '(("fever+https://secstate@rss.unbl.ink"
@@ -126,10 +126,11 @@ Here we’re going to use TinyTinyRSS as a backend store for our RSS feeds.
         :desc "Update Elfeed"       "u" #'elfeed-update))
 
 ;; Schedule feed update for every 15 minutes
-(run-at-time "30 min" nil 'elfeed-update)
+(add-hook 'emacs-startup-hook (lambda () (run-at-time "30 min" 'elfeed-update)))
 #+END_SRC
 
-Then wel’ll setup some nice defaults and font settings for viewing feeds in Elfeed.
+
+Then we’ll setup some nice defaults and font settings for viewing feeds in Elfeed.
 #+BEGIN_SRC emacs-lisp
 (setq elfeed-search-filter "@2-days-ago +unread")
 (defun elfeed-search-format-date (date)
@@ -254,16 +255,16 @@ I add only two custom mappings to the default org mode maps, a shortcut to my In
 #+BEGIN_SRC emacs-lisp
 (setq org-agenda-span 3
       org-agenda-start-day "1d")
-(defun +show-agenda ()
-  (interactive)
-  (delete-other-windows)
-  (with-popup-rules! nil
-    (org-agenda-list)
-    (calendar))
-  (other-window 1)
-  (split-window-vertically)
-  (other-window 1)
-  (find-file +todo-file))
+;(defun +show-agenda ()
+;  (interactive)
+;  (delete-other-windows)
+;  (with-popup-rules! nil
+;    (org-agenda-list)
+;    (calendar))
+;  (other-window 1)
+;  (split-window-vertically)
+;  (other-window 1)
+;  (find-file +todo-file))
 #+END_SRC
 ** Org-roam
 I am absolutely in love with [[https://org-roam.readthedocs.io/en/develop/][Org-roam]]. Everything about it makes taking notes easier. I just need to level up with Zettels and web publishing of my notes.
@@ -286,7 +287,7 @@ I am absolutely in love with [[https://org-roam.readthedocs.io/en/develop/][Org-
 Trying a new space-repetition framework.
 #+BEGIN_SRC emacs-lisp
 (setq org-fc-directories "~/var/org/")
-(require 'org-fc-hydra)
+;(require 'org-fc-hydra)
 #+END_SRC
 
 * Novel

+ 18 - 0
emacs/.config/doom/custom.el

@@ -0,0 +1,18 @@
+;;; custom.el ---                                    -*- lexical-binding: t; -*-
+
+;; Copyright (C) 2021  Colin Powell
+
+;; Author: Colin Powell <colin@unbl.ink>
+;; Keywords:
+(custom-set-variables
+ ;; custom-set-variables was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+ '(package-selected-packages '(selectrum)))
+(custom-set-faces
+ ;; custom-set-faces was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+ )