Pārlūkot izejas kodu

[emacs] Update Elfeed and switch from inbox to index

Colin Powell 4 gadi atpakaļ
vecāks
revīzija
3c831b98e8
2 mainītis faili ar 13 papildinājumiem un 6 dzēšanām
  1. 10 6
      emacs/.config/doom/config.org
  2. 3 0
      emacs/.config/doom/packages.el

+ 10 - 6
emacs/.config/doom/config.org

@@ -18,7 +18,7 @@ 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 'doom-homage-black
+(setq doom-theme 'grandshell
       doom-font (font-spec :family "Iosevka" :size 14 :weight 'regular)
       doom-font (font-spec :family "Iosevka" :size 14 :weight 'regular)
       doom-big-font (font-spec :family "Iosevka" :size 18)
       doom-big-font (font-spec :family "Iosevka" :size 18)
       doom-variable-pitch-font (font-spec :family "Overpass" :size 16))
       doom-variable-pitch-font (font-spec :family "Overpass" :size 16))
@@ -110,7 +110,11 @@ Right now, just make sure I can connect to my local Mopidy server via MPDel.
 Here we’re going to use TinyTinyRSS as a backend store for our RSS feeds.
 Here we’re going to use TinyTinyRSS as a backend store for our RSS feeds.
 #+BEGIN_SRC emacs-lisp
 #+BEGIN_SRC emacs-lisp
 (setq elfeed-protocol-ttrss-maxsize 100) ;; bigger than 200 is invalid
 (setq elfeed-protocol-ttrss-maxsize 100) ;; bigger than 200 is invalid
-(setq elfeed-feeds '("ttrss+https://powellc:hT7nPKAHa^fYwXZ*@reader.unbl.ink"))
+(setq elfeed-feeds (list
+                    (list "fever+https://secstate@rss.unbl.ink"
+                          :api-url "https://rss.unbl.ink/fever/"
+                          :password "delegator flaxseed request washer"
+                          :autotags '(("rss.unbl.ink")))))
 
 
 (setq elfeed-log-level 'debug)
 (setq elfeed-log-level 'debug)
 (elfeed-protocol-enable)
 (elfeed-protocol-enable)
@@ -203,9 +207,9 @@ a serif font when I’m writing a lot of words.
         org-image-actual-width '(600)
         org-image-actual-width '(600)
         org-protocol-default-template-key "l"
         org-protocol-default-template-key "l"
         org-capture-templates
         org-capture-templates
-        '(("i" "Send to inbox" entry (file "~/var/org/inbox.org")
+        '(("i" "Send to inbox" entry (file "~/var/org/index.org")
            "* TODO %?\n")
            "* TODO %?\n")
-          ("l" "Link" entry (file "~/var/org/inbox.org")
+          ("l" "Link" entry (file "~/var/org/index.org")
            "* TODO %a\n %?\n %i"))
            "* TODO %a\n %?\n %i"))
         org-todo-keywords
         org-todo-keywords
         '((sequence "TODO(t)" "NEXT(n)" "MAYBE(m)" "|" "DONE(d)" "WONTDO(w)"))
         '((sequence "TODO(t)" "NEXT(n)" "MAYBE(m)" "|" "DONE(d)" "WONTDO(w)"))
@@ -222,14 +226,14 @@ a serif font when I’m writing a lot of words.
   (setq git-gutter:disabled-modes '(org-mode image-mode)))
   (setq git-gutter:disabled-modes '(org-mode image-mode)))
 
 
 ;; Refiling
 ;; Refiling
-(setq org-refile-targets '(("~/var/org/inbox.org" :maxlevel . 9)))
+(setq org-refile-targets '(("~/var/org/index.org" :maxlevel . 9)))
 (setq org-outline-path-complete-in-steps nil)         ; Refile in a single go
 (setq org-outline-path-complete-in-steps nil)         ; Refile in a single go
 (setq org-refile-use-outline-path t)                  ; Show full paths for refiling
 (setq org-refile-use-outline-path t)                  ; Show full paths for refiling
 #+END_SRC
 #+END_SRC
 ** Key bindings
 ** Key bindings
 I add only two custom mappings to the default org mode maps, a shortcut to my Inbox file and a quick way to save all open org mode files.
 I add only two custom mappings to the default org mode maps, a shortcut to my Inbox file and a quick way to save all open org mode files.
 #+BEGIN_SRC emacs-lisp
 #+BEGIN_SRC emacs-lisp
-(setq +inbox-file "~/var/org/inbox.org")
+(setq +inbox-file "~/var/org/index.org")
 (defun +open-inbox-file ()
 (defun +open-inbox-file ()
   (interactive)
   (interactive)
   "Opens the inbox file"
   "Opens the inbox file"

+ 3 - 0
emacs/.config/doom/packages.el

@@ -57,8 +57,11 @@
 ;; slack ... okay one more time
 ;; slack ... okay one more time
 (package! slack)
 (package! slack)
 (package! direnv)
 (package! direnv)
+(package! frameshot)
+(package! keycast)
 
 
 ;; pretty tings up
 ;; pretty tings up
 (package! srcery-theme)
 (package! srcery-theme)
 (package! kaolin-themes)
 (package! kaolin-themes)
+(package! grandshell-theme)
 (package! nyan-mode)
 (package! nyan-mode)