From 65f222f2eaa3fb458659161a1247008ca79d4abe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Aino=20Violetta=20Al=C3=A9anor?= Date: Sat, 29 Apr 2023 12:44:13 +0200 Subject: emacs: add elfeed and use-package --- .config/emacs/init.el | 18 +++++++++++++++--- .config/sway/config | 3 +-- 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 # -- cgit v1.2.3