Compare commits
No commits in common. "160d71a7fc536998c573661f9a76a24dbc68c247" and "88e7aeae2c20dc53fe78d1867416524147c3c7ce" have entirely different histories.
160d71a7fc
...
88e7aeae2c
5
+ui.el
5
+ui.el
|
@ -56,8 +56,3 @@
|
||||||
:when (featurep! :app rss)
|
:when (featurep! :app rss)
|
||||||
:face (:inherit (doom-dashboard-menu-title bold))
|
:face (:inherit (doom-dashboard-menu-title bold))
|
||||||
:action =rss) t)
|
:action =rss) t)
|
||||||
(add-to-list '+doom-dashboard-menu-sections
|
|
||||||
'("Read saved articles"
|
|
||||||
:icon (all-the-icons-octicon "book" :face 'doom-dashboard-menu-title)
|
|
||||||
:face (:inherit (doom-dashboard-menu-title bold))
|
|
||||||
:action =wallabag) t)
|
|
||||||
|
|
34
config.el
34
config.el
|
@ -14,9 +14,9 @@
|
||||||
("~/Documents/Uni" . 3)
|
("~/Documents/Uni" . 3)
|
||||||
("~/Repos" . 1)
|
("~/Repos" . 1)
|
||||||
"~/.dotfiles"))
|
"~/.dotfiles"))
|
||||||
; Auto cleanup recentf
|
; Auto cleanup recentf
|
||||||
(setq recentf-auto-cleanup 300)
|
(setq recentf-auto-cleanup 300)
|
||||||
; Save backup files to ~/.cache and autosave files to ~/.cache/emacs
|
; Save backup files to ~/.cache and autosave files to ~/.cache/emacs
|
||||||
(setq backup-directory-alist `(("." . "~/.cache"))
|
(setq backup-directory-alist `(("." . "~/.cache"))
|
||||||
auto-save-list-file-prefix (concat "~/.cache"))
|
auto-save-list-file-prefix (concat "~/.cache"))
|
||||||
;; Load org configuration
|
;; Load org configuration
|
||||||
|
@ -86,30 +86,16 @@
|
||||||
wallabag-show-entry-switch 'switch-to-buffer
|
wallabag-show-entry-switch 'switch-to-buffer
|
||||||
url-automatic-caching t)
|
url-automatic-caching t)
|
||||||
(add-hook 'wallabag-after-render-hook 'wallabag-search-update-and-clear-filter))
|
(add-hook 'wallabag-after-render-hook 'wallabag-search-update-and-clear-filter))
|
||||||
(add-hook! 'doom-real-buffer-functions
|
(add-hook! 'doom-real-buffer-functions
|
||||||
(defun +rss-buffer-p (buf)
|
(defun +rss-buffer-p (buf)
|
||||||
(string-match-p "^\\*wallabag" (buffer-name 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
|
;; Set up elfeed
|
||||||
(after! elfeed
|
(after! elfeed
|
||||||
(setq elfeed-use-curl t)
|
(setq elfeed-use-curl t)
|
||||||
(setq elfeed-feeds (list
|
(setq elfeed-feeds (list
|
||||||
(list "fever+https://coolneng@rss.coolneng.duckdns.org"
|
(list "fever+https://coolneng@rss.coolneng.duckdns.org"
|
||||||
:api-url "https://rss.coolneng.duckdns.org/fever/"
|
:api-url "https://rss.coolneng.duckdns.org/fever/"
|
||||||
:password (auth-source-pass-get 'secret "api/miniflux"))))
|
:password (auth-source-pass-get 'secret "api/miniflux"))))
|
||||||
(setq elfeed-sort-order 'ascending
|
(setq elfeed-sort-order 'ascending
|
||||||
elfeed-search-filter "@all +unread"
|
elfeed-search-filter "@all +unread"
|
||||||
elfeed-goodies/tag-column-width 0)
|
elfeed-goodies/tag-column-width 0)
|
||||||
|
@ -120,7 +106,7 @@
|
||||||
:after magit
|
:after magit
|
||||||
:preface
|
:preface
|
||||||
(setq
|
(setq
|
||||||
magit-delta-default-dark-theme "OneHalfDark"
|
magit-delta-default-dark-theme "OneHalfDark"
|
||||||
magit-delta-default-light-theme "OneHalfLight")
|
magit-delta-default-light-theme "OneHalfLight")
|
||||||
:config
|
:config
|
||||||
(magit-delta-mode))
|
(magit-delta-mode))
|
||||||
|
|
Loading…
Reference in New Issue