summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaura Aino Violetta Aléanor <lav@vampires.gay>2023-04-29 12:44:13 +0200
committerLaura Aino Violetta Aléanor <lav@vampires.gay>2023-04-29 12:44:13 +0200
commit65f222f2eaa3fb458659161a1247008ca79d4abe (patch)
tree9f9b7cf1932689f9f034db43c8385b7d24657e9e
parent6043397997210137390e96b9a238aa25250a7b32 (diff)
downloaddotfiles-65f222f2eaa3fb458659161a1247008ca79d4abe.tar.gz
dotfiles-65f222f2eaa3fb458659161a1247008ca79d4abe.zip
emacs: add elfeed and use-package
-rw-r--r--.config/emacs/init.el18
-rw-r--r--.config/sway/config3
2 files changed, 16 insertions, 5 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index dab0dff..6913b2f 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -1,6 +1,9 @@
(setq user-emacs-directory "~/.config/emacs/")
(require 'package)
+(require 'use-package)
+(require 'xdvi-search)
+
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(package-initialize)
(custom-set-variables
@@ -17,7 +20,7 @@
'(mediawiki-site-alist
'(("Wikipedia" "https://en.wikipedia.org/w/" "Maddy from Celeste" "" nil "Main Page")))
'(package-selected-packages
- '(mediawiki auctex eimp eglot ada-mode wisi portage-navi rust-mode csv-mode haskell-mode catppuccin-theme))
+ '(use-package elfeed-org elfeed mediawiki auctex eimp eglot ada-mode wisi portage-navi rust-mode csv-mode haskell-mode catppuccin-theme))
'(tab-bar-mode t)
'(tool-bar-mode nil))
@@ -30,6 +33,15 @@
'(default ((t (:family "Inconsolata" :foundry "PfEd" :slant normal :weight normal :height 113 :width normal)))))
(add-to-list 'load-path "/usr/share/emacs/site-lisp/tex-utils")
-(require 'xdvi-search)
-
(menu-bar-mode -1)
+
+;; elfeed
+;; (use-package elfeed-org
+;; :ensure t
+;; :config
+;; (elfeed-org)
+;; (setq rmh-elfeed-org-files (list "~/rss/feeds.org")))
+(require 'elfeed-org)
+(elfeed-org)
+(setq rmh-elfeed-org-files (list "~/rss/feeds.org"))
+(setq elfeed-db-directory "~/rss/elfeed")
diff --git a/.config/sway/config b/.config/sway/config
index 133d7c9..75de6c6 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -23,9 +23,8 @@ set $menu rofi -show drun
### Output configuration
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
-#output * bg ~/wallpapers/Tsunami_by_hokusai_19th_century.jpg fill
-set $wallpapers_path $HOME/wallpapers
+set $wallpapers_path $HOME/images/wallpapers
output * bg `find $wallpapers_path -type f | shuf -n 1` fill
#