Remove Wallabag configuration
This commit is contained in:
28
config.el
28
config.el
@@ -88,34 +88,6 @@
|
||||
(setq display-line-numbers-type 'relative)
|
||||
;; Use pass as auth-source
|
||||
(add-to-list 'auth-sources 'password-store)
|
||||
;; Set up wallabag
|
||||
(after! wallabag
|
||||
(setq wallabag-host "https://wallabag.coolneng.duckdns.org"
|
||||
wallabag-username "coolneng"
|
||||
wallabag-password (auth-source-pass-get 'secret "api/wallabag")
|
||||
wallabag-clientid (auth-source-pass-get "clientid" "api/wallabag")
|
||||
wallabag-secret (auth-source-pass-get "api-secret" "api/wallabag")
|
||||
wallabag-show-sidebar 't
|
||||
wallabag-show-entry-switch 'switch-to-buffer
|
||||
url-automatic-caching t)
|
||||
(add-hook! 'wallabag-after-render-hook 'wallabag-search-update-and-clear-filter))
|
||||
(add-hook! 'doom-real-buffer-functions
|
||||
(defun +rss-buffer-p (buf)
|
||||
(string-match-p "^\\*wallabag" (buffer-name buf))))
|
||||
(defvar +wallabag-workspace-name "*wallabag*")
|
||||
(defun =wallabag ()
|
||||
"Activate (or switch to) `wallabag' in its workspace."
|
||||
(interactive)
|
||||
(if (modulep! :ui workspaces)
|
||||
(progn
|
||||
(+workspace-switch +wallabag-workspace-name t)
|
||||
(doom/switch-to-scratch-buffer)
|
||||
(wallabag)
|
||||
(+workspace/display))
|
||||
(setq +wallabag--wconf (current-window-configuration))
|
||||
(delete-other-windows)
|
||||
(switch-to-buffer (doom-fallback-buffer))
|
||||
(wallabag)))
|
||||
;; Set up elfeed
|
||||
(after! elfeed
|
||||
(setq elfeed-use-curl t)
|
||||
|
||||
Reference in New Issue
Block a user