diff options
author | Case Duckworth | 2021-01-09 14:41:26 -0600 |
---|---|---|
committer | Case Duckworth | 2021-01-09 14:41:26 -0600 |
commit | 5ac732973c6ee58222101b6331f7ebaff7ead326 (patch) | |
tree | a43c2aa543fe66d09b13e53c1f74813112783d37 | |
parent | Fix smart-mode-line theming (diff) | |
download | emacs-5ac732973c6ee58222101b6331f7ebaff7ead326.tar.gz emacs-5ac732973c6ee58222101b6331f7ebaff7ead326.zip |
Add elfeed
-rw-r--r-- | config.org | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/config.org b/config.org index aaf5978..221bc4a 100644 --- a/config.org +++ b/config.org | |||
@@ -1871,6 +1871,44 @@ I’m only enabling this at home for now, since it requires building stuff. | |||
1871 | ;; TODO : add tokens ... somehow | 1871 | ;; TODO : add tokens ... somehow |
1872 | #+end_src | 1872 | #+end_src |
1873 | 1873 | ||
1874 | ** RSS | ||
1875 | |||
1876 | *** elfeed | ||
1877 | |||
1878 | #+begin_src emacs-lisp | ||
1879 | (straight-use-package 'elfeed) | ||
1880 | (require 'elfeed) | ||
1881 | (define-key acdw/map "w" 'elfeed) | ||
1882 | |||
1883 | (cuss elfeed-use-curl (executable-find "curl")) | ||
1884 | (cuss elfeed-curl-extra-arguments '("--insecure") | ||
1885 | "Extra arguments for curl.") | ||
1886 | (elfeed-set-timeout (* 60 3)) | ||
1887 | |||
1888 | (defun acdw/setup-elfeed-show () | ||
1889 | (setq visual-fill-column-center-text t) | ||
1890 | (visual-fill-column-mode +1)) | ||
1891 | |||
1892 | (add-hook 'elfeed-show-mode-hook #'acdw/setup-elfeed-show) | ||
1893 | #+end_src | ||
1894 | |||
1895 | *** elfeed-protocol | ||
1896 | |||
1897 | #+begin_src emacs-lisp | ||
1898 | (straight-use-package 'elfeed-protocol) | ||
1899 | (require 'elfeed-protocol) | ||
1900 | |||
1901 | (cuss elfeed-protocol-ttrss-maxsize 200) | ||
1902 | |||
1903 | (cuss elfeed-feeds (list | ||
1904 | (list "ttrss+https://acdw@rss.tildeverse.org" | ||
1905 | :use-authinfo t))) | ||
1906 | |||
1907 | (setq elfeed-log-level 'debug) | ||
1908 | |||
1909 | (elfeed-protocol-enable) | ||
1910 | #+end_src | ||
1911 | |||
1874 | * System integration | 1912 | * System integration |
1875 | 1913 | ||
1876 | ** Linux | 1914 | ** Linux |