diff --git a/config.el b/config.el index 9f3bb9f..f29092c 100644 --- a/config.el +++ b/config.el @@ -74,3 +74,15 @@ (after! lsp-clangd (set-lsp-priority! 'clangd 2)) ;; Use relative line numbers (Usage: number ) (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) + (add-hook 'wallabag-after-render-hook 'wallabag-search-update-and-clear-filter)) diff --git a/packages.el b/packages.el index ec6340b..af69824 100644 --- a/packages.el +++ b/packages.el @@ -7,3 +7,4 @@ ;; (package! builtin-package :disable t) (package! org-super-agenda) (package! org-chef) +(package! wallabag :recipe (:host github :repo "chenyanming/wallabag.el" :files ("*.el" "*.alist" "*.css")))