diff options
| author | Jakob L. Kreuze | 2019-01-11 15:19:28 -0500 |
|---|---|---|
| committer | Jakob L. Kreuze | 2019-01-11 15:19:28 -0500 |
| commit | fd7f2c4b269694610b149b44e857c4a09414124d (patch) | |
| tree | 5b347c34b116d3f148497682de14a6205e2d74e6 /jakob.org | |
| parent | f10537916bdd12ded8fc41dd7468f2afd2803f91 (diff) | |
Use ttrss with elfeed.
Diffstat (limited to 'jakob.org')
| -rw-r--r-- | jakob.org | 161 |
1 files changed, 33 insertions, 128 deletions
@@ -935,6 +935,20 @@ Ah, yes. Simulation keys, the real reason I decided to install EXWM. ([?\C-s] . [?\C-f]))) #+END_SRC +The tab switching functionality of Saka Key is sadly limited to tabs containing +HTML content that have finished loading, so I'm implementing simulation keys for +the tab switching keybindings built into Firefox. + +#+BEGIN_SRC elisp +(add-hook 'exwm-manage-finish-hook + (lambda () + (when (and exwm-class-name + (string= exwm-class-name "Firefox")) + (exwm-input-set-local-simulation-keys (concatenate 'list + exwm-input-simulation-keys + '(([?\C-q] . [?\C-w]))))))) +#+END_SRC + EXWM's buffers are named =*EXWM*= upon creation, which makes switching between windows a pain. This snippet renames buffers when their class or title changes. @@ -1126,7 +1140,7 @@ items right on the first try. It's unhelpful and really just annoying. * Yasnippet -Enable Yasnipped globally. +Enable Yasnippet globally. #+BEGIN_SRC elisp (use-package yasnippet @@ -1182,136 +1196,19 @@ Preference of hygene. See [[Filesystem]]. Preference of hygene. See [[Filesystem]]. #+BEGIN_SRC elisp -(setq elfeed-db-directory "~/.local/share/elfeed") +(use-package elfeed + :init + (setq elfeed-db-directory "~/.local/share/elfeed")) #+END_SRC -All of the feeds I'm subscribed to. A reduced fat version of this list is -available [[http://jakob.space/links/][on my website]] with links to the sites instead of RSS feed URLs. +Configure Elfeed to sync with the instance of Tiny Tiny RSS I use. #+BEGIN_SRC elisp -(setq elfeed-feeds - '(("https://www.phoronix.com/rss.php" news) - ("https://paleotronic.com/feed/" news) - ("https://lobste.rs/newest.rss" news) - ("https://tilde.news/newest.rss" news) - ("https://this-week-in-rust.org/atom.xml" news) - ("https://readrust.net/all/feed.rss" news) - ("http://planet.lisp.org/rss20.xml" news) - ("https://ctftime.org/event/list/upcoming/rss/" news) - - ("https://xkcd.com/rss.xml" webcomic) - ("https://www.foxtrot.com/feed/" webcomic) - ("http://pbfcomics.com/feed/" webcomic) - ("http://www.smbc-comics.com/comic/rss" webcomic) - ("http://interglacial.com/rss/bob_the_angry_flower.rss" webcomic) - - ("https://eev.ee/feeds/blog.atom.xml" blog) - ("http://fabiensanglard.net/rss.xml" blog) - ("https://drewdevault.com/feed.xml" blog) - ("http://feeds.feedburner.com/GynvaelColdwindEN?format=xml" blog) - ("http://nullprogram.com/feed/" blog) - ("https://aixxe.net/rss" blog) - ("https://blog.soykaf.com/post/index.xml" blog) - ("https://bernsteinbear.com/feed" blog) - ("https://www.nayuki.io/rss20.xml" blog) - ("https://travisgoodspeed.blogspot.com/feeds/posts/default" blog) - ("http://emacshorrors.com/feed.atom" blog) - ("http://dsasmblr.com/feed/" blog) - ("https://0x90r00t.com/feed/" blog) - ("https://outflux.net/blog/feed/" blog) - ("https://blog.krnl386.com/index.php?feed/atom" blog) - ("http://shell-storm.org/rss.xml" blog) - ("http://sh3llc0d3r.com/feed/" blog) - ("https://www.soldierx.com/rss.xml" blog) - ("http://technomancy.us/feed/atom.xml" blog) - ("https://rufflewind.com/feed.xml" blog) - ("http://j00ru.vexillium.org/?feed=rss2" blog) - ("https://dev.krzaq.cc/feed/" blog) - ("http://asawicki.info/news_rss.php5" blog) - ("https://www.filfre.net/feed/" blog) - ("http://radare.today/index.xml" blog) - ("https://nickcano.com/rss/" blog) - ("https://infinityplusonemath.wordpress.com/feed/" blog) - ("https://www.rtl-sdr.com/feed/" blog) - ("https://retro.moe/feed/" blog) - ("https://objective-see.com/rss.xml" blog) - ("http://meh.schizofreni.co/rss" blog) - ("http://feeds.feedburner.com/michaelnielsen/wmna" blog) - ("https://wargio.github.io/feed.xml" blog) - ("http://emacsninja.com/feed.atom" blog) - ("https://blog.baturin.org/feeds/atom.xml" blog) - ("https://bluishcoder.co.nz/rss.xml" blog) - ("https://leotindall.com/index.xml" blog) - ("https://blog.separateconcerns.com/feed.atom" blog) - ("https://deftly.net/rss.xml" blog) - ("https://eligrey.com/feed/" blog) - ("https://nerderati.com/" blog) - ("https://zayenz.se/index.xml" blog) - ("http://charliethe.ninja/feed.xml" blog) - ("http://www.charlesetc.com/index.xml" blog) - ("https://ramsdenj.com/feed.xml" blog) - ("https://nick.zoic.org/feed.rss" blog) - ("https://gpfault.net/rss.xml" blog) - ("https://blog.demofox.org/feed/" blog) - ("https://floooh.github.io/feed.xml" blog) - ("https://erkaman.github.io/rss.xml" blog) - ("http://samskivert.com/blog/index.xml" blog) - ("https://marioslab.io/posts/rss.xml" blog) - ("https://blog.burntsushi.net/index.xml" blog) - ("https://frederik-braun.com/feeds/all.rss.xml" blog) - ("http://www.wezm.net/feed/" blog) - ("https://theta.eu.org/feed.xml" blog) - ("https://lemire.me/blog/feed/" blog) - ("https://arp242.net/feed.xml" blog) - ("https://jamchamb.github.io/feed.xml" blog) - ("https://muto.ca/feed.xml" blog) - ("https://rocx.rocks/rss.xml" blog) - ("https://norasandler.com/feed.xml" blog) - ("http://faehnri.ch/feed.xml" blog) - ("https://pwnaccelerator.github.io/feed.xml" blog) - ("https://www.cambus.net/atom.xml" blog) - ("https://twobithistory.org/feed.xml" blog) - ("https://darksi.de/rss.xml" blog) - ("https://hackaday.com/blog/feed/" blog) - ("http://rkallos.com/feeds/all.rss.xml" blog) - ("https://pharr.org/matt/blog/feed.xml" blog) - ("https://chriszheng.science/atom.xml" blog) - ("http://bitcannon.net/index.xml" blog) - ("https://vfoley.xyz/rss.xml" blog) - ("https://blog.kingcons.io/rss.xml" blog) - ("http://blog.macrolet.net/rss.xml" blog) - ("http://www.stylewarning.com/blog/rss.xml" blog) - ("http://feeds.feedburner.com/stevelosh?format=xml" blog) - ("https://phoenhex.re/feed.xml" blog) - ("http://lambda-the-ultimate.org/rss.xml" blog) - ("https://rakhim.org/index.xml" blog) - ("http://www.evanmiller.org/news.xml" blog) - ("http://lispblog.xach.com/rss" blog) - ("https://medium.com/feed/@alexgolec" blog) - ("https://wbenny.github.io/feed.xml" blog) - ("http://vihart.com/feed/" blog) - ("https://cryogenix.net/rss.xml" blog) - ("http://www.codersnotes.com/notes/feed" blog) - ("https://ambrevar.xyz/rss.xml" blog) - ("https://hardmath123.github.io/feed.xml" blog) - ("https://wingolog.org/feed/atom" blog) - ("https://blog.0day.rocks/feed" blog) - ("https://tymoon.eu/api/reader/atom" blog) - ("https://wolf480pl.github.io/feed.xml" blog) - ("https://yingtongli.me/blog/feed.xml" blog) - ("https://text.causal.agency/feed.atom" blog) - ("https://programmingisterrible.com/rss" blog) - ("https://dehora.net/journal?format=RSS" blog) - ("http://bradhodge.ca/blog/?feed=rss2" blog) - ("https://sdf-cn.org/feed/" blog) - ("https://shadowrz.github.io/feed.xml" blog) - ("https://blog.hcl.moe/feed" blog) - ("https://blog.yoitsu.moe/feeds/all.atom.xml" blog) - ("https://jfm.carcosa.net/blog/index.xml" blog) - ("http://thestone.zone/feed.xml" blog) - ("http://www.matrix67.com/blog/feed" blog) - ("https://ben.tild3.org/blog/feed.rss" blog) - ("https://lucasmeijer.com/posts/index.xml" blog))) +(use-package elfeed-protocol + :config + (setq elfeed-feeds (list (list "ttrss+https://jakob@rss.tildeverse.org" + :use-authinfo t))) + (elfeed-protocol-enable)) #+END_SRC * ERC @@ -1586,7 +1483,14 @@ I don't really care about persisting minibuffer history between sessions. (use-package savehist :ensure nil :config - (savehist-mode -1)) + (savehist-mode -1) +#+END_SRC + +And somehow, it still manages to run. + +#+BEGIN_SRC elisp + :init + (setq savehist-file "~/.cache/emacs/history")) #+END_SRC * SLIME @@ -1659,5 +1563,6 @@ here. :config (dim-minor-name 'eldoc-mode "") (dim-minor-name 'visual-line-mode "") + (dim-minor-name 'ivy-mode "") (dim-minor-name 'yas-minor-mode "")) #+END_SRC |