Started work on making the configuration modular.
This commit is contained in:
@@ -1,40 +1,15 @@
|
||||
#+PROPERTY: header-args :tangle "social.el" :exports code
|
||||
|
||||
* Mastodon, and other tidbits
|
||||
|
||||
#+name: header
|
||||
#+begin_src emacs-lisp :exports none
|
||||
;;; social -- Provides social features -*- lexical-binding: t; -*-
|
||||
|
||||
;;; Commentary:
|
||||
;;; Only provides Mastodon, and discord presence currently.
|
||||
|
||||
;;; Code:
|
||||
#+end_src
|
||||
|
||||
#+RESULTS: header
|
||||
|
||||
** Mastodon
|
||||
|
||||
Just a little package for browsing mastodon. I don't use it much, but
|
||||
it's deferred and doesn't take much space.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
<<header>>
|
||||
|
||||
#+begin_src emacs-lisp :tangle "social.el"
|
||||
(use-package mastodon
|
||||
:defer t
|
||||
:config
|
||||
(setq mastodon-instance-url "https://mastodon.social"
|
||||
mastodon-active-user "xulfer"))
|
||||
|
||||
|
||||
#+end_src
|
||||
|
||||
#+name: footer
|
||||
#+begin_src emacs-lisp :exports none
|
||||
;;; social.el ends here
|
||||
|
||||
(provide 'social)
|
||||
|
||||
#+end_src
|
||||
|
||||
Reference in New Issue
Block a user