new mastodon settings

This commit is contained in:
~d6 2022-10-28 10:52:26 -04:00
parent d3ed9fc657
commit d272db56c9
2 changed files with 10 additions and 5 deletions

View File

@ -17,3 +17,5 @@ workspace
elpy elpy
url/cache url/cache
mastodon.plstore mastodon.plstore
emojis
persist

13
init.el
View File

@ -81,7 +81,7 @@
"Fira Code")) "Fira Code"))
;; default size to use when loading fonts ;; default size to use when loading fonts
(defvar my/font-size 16) (defvar my/font-size 24)
;; see if a given font exists ;; see if a given font exists
(defun my/has-font (font) (defun my/has-font (font)
@ -518,7 +518,10 @@
(use-package mastodon (use-package mastodon
:config :config
(setq mastodon-instance-url "https://merveilles.town" (setq mastodon-instance-url "https://merveilles.town"
mastodon-active-user "d6")) mastodon-active-user "d6"
mastodon-tl--show-avatars t
mastodon-media--avatar-height 40
mastodon-media--enable-image-caching t))
;; ;; pdf/latex ;; ;; pdf/latex
@ -544,8 +547,8 @@
(setq whitespace-style '(newline tab-mark)) (setq whitespace-style '(newline tab-mark))
(setq-default indent-tabs-mode nil (setq-default indent-tabs-mode nil
tab-width 4 tab-width 4
c-basic-offset 4 c-basic-offset 4)
show-trailing-whitespace t) (add-hook 'prog-mode-hook (lambda () (setq show-trailing-whitespace t)))
;; handy function to toggle tabs ;; handy function to toggle tabs
(defun toggle-indent-tabs () (defun toggle-indent-tabs ()
@ -578,7 +581,7 @@
;; spell checking as you type in text-mode ;; spell checking as you type in text-mode
;(autoload 'flyspell-mode-on "flyspell" "On-the-fly ispell." t) ;(autoload 'flyspell-mode-on "flyspell" "On-the-fly ispell." t)
(add-hook 'text-mode-hook 'flyspell-mode-on) ;;(add-hook 'text-mode-hook 'flyspell-mode-on)
;; use nicer diff colors ;; use nicer diff colors
(defun my/update-diff-colors () (defun my/update-diff-colors ()