diff options
author | Thanos Apollo <[email protected]> | 2022-07-19 00:04:42 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2022-07-19 00:04:42 +0300 |
commit | 4c48ff5da0fc058edf16e7acf4bf5fd1b5efd061 (patch) | |
tree | f968c432a4217fced62878d6833273c351d0e189 | |
parent | 46047f053945670abedadede331d153a0ae6be69 (diff) |
Update elfeed,themes and keybindings
-rw-r--r-- | .doom.d/config.el | 52 | ||||
-rw-r--r-- | .doom.d/custom.el | 53 | ||||
-rw-r--r-- | .doom.d/init.el | 4 |
3 files changed, 53 insertions, 56 deletions
diff --git a/.doom.d/config.el b/.doom.d/config.el index 57c4313..2c8da2e 100644 --- a/.doom.d/config.el +++ b/.doom.d/config.el @@ -34,7 +34,15 @@ ;; There are two ways to load a theme. Both assume the theme is installed and ;; available. You can either set `doom-theme' or manually load a theme with the ;; `load-theme' function. This is the default: -(setq doom-theme 'doom-gruvbox) +(setq doom-theme 'doom-one) + +;;(setq modus-themes-mode-line '(accented boarderless)) +;;(setq modus-themes-region '(bg-only)) + + + +;(load-theme 'modus-vivendi t) + ;; This determines the style of line numbers in effect. If set to `nil', line ;; numbers are disabled. For relative line numbers, set this to `relative'. @@ -80,7 +88,7 @@ ;; Default settings -(setq browser-url-browser-function 'eww-browse-url) +(setq browser-url-browser-function 'browse-url-default-browser) ;; Dired (use-package dired @@ -131,6 +139,42 @@ ;; Elfeed ;; -(global-set-key (kbd "C-x C-e") 'elfeed) +(global-set-key (kbd "C-c e") 'elfeed) +(global-set-key (kbd "C-c u") 'elfeed-update) (require 'elfeed) -(setq-default elfeed-search-filter "@1-week-ago +unread ") +(use-package elfeed + :config + (setq elfeed-search-feed-face ":foreground #fff :weight bold" + elfeed-feeds (quote + (("https://www.reddit.com/r/linux.rss" reddit linux) + ("https://www.reddit.com/r/commandline.rss" reddit commandline) + ("https://www.reddit.com/r/distrotube.rss" reddit distrotube) + ("https://www.reddit.com/r/emacs.rss" reddit emacs) + ("https://www.gamingonlinux.com/article_rss.php" gaming linux) + ("https://hackaday.com/blog/feed/" hackaday linux) + ("https://opensource.com/feed" opensource linux) + ("https://linux.softpedia.com/backend.xml" softpedia linux) + ("https://www.thelancet.com/rssfeed/ebiom_current.xml" medicine ebiom) + ("http://feeds.feedburner.com/d0od" omgubuntu linux) + ("https://www.computerworld.com/index.rss" computerworld linux) + ("https://www.networkworld.com/category/linux/index.rss" networkworld linux) + ("https://www.techrepublic.com/rssfeeds/topic/open-source/" techrepublic linux) + ("https://betanews.com/feed" betanews linux) + ("http://lxer.com/module/newswire/headlines.rss" lxer linux) + ("https://distrowatch.com/news/dwd.xml" medicine lancet))))) + +(use-package elfeed-goodies + :init + (elfeed-goodies/setup) + :config + (setq elfeed-goodies/entry-pane-size 0.5)) + +(defun elfeed-search-format-date (date) + (format-time-string "%Y-%m-%d %H:%M" (seconds-to-time date))) +(add-hook 'elfeed-show-mode-hook 'visual-line-mode) +(evil-define-key 'normal elfeed-show-mode-map + (kbd "J") 'elfeed-goodies/split-show-next + (kbd "K") 'elfeed-goodies/split-show-prev) +(evil-define-key 'normal elfeed-search-mode-map + (kbd "J") 'elfeed-goodies/split-show-next + (kbd "K") 'elfeed-goodies/split-show-prev) diff --git a/.doom.d/custom.el b/.doom.d/custom.el index 5d54374..13948f8 100644 --- a/.doom.d/custom.el +++ b/.doom.d/custom.el @@ -1,61 +1,14 @@ -;;; custom.el -*- lexical-binding: t; -*- - - - -;; (custom-set-variables -;; ;; custom-set-variables was added by Custom. -;; ;; If you edit it by hand, you could mess it up, so be careful. -;; ;; Your init file should contain only one such instance. -;; ;; If there is more than one, they won't work right. -;; '(custom-safe-themes -;; '("97db542a8a1731ef44b60bc97406c1eb7ed4528b0d7296997cbb53969df852d6" default)) -;; '(doc-view-continuous t) -;; '(org-agenda-files '("~/Documents/org/agenda.org")) -;; '(package-selected-packages -;; '(pdf-tools org-anki anki-connect quelpa-use-package exwm ##)) -;; '(warning-suppress-log-types '((erc) (erc))) -;; '(warning-suppress-types '((color-theme) (erc) (erc)))) -;; (custom-set-faces -;; ;; custom-set-faces was added by Custom. -;; ;; If you edit it by hand, you could mess it up, so be careful. -;; ;; Your init file should contain only one such instance. -;; ;; If there is more than one, they won't work right. -;; '(default ((t (:height 100 :family "hack")))) -;; '(org-level-1 ((t (:inherit outline-1 :height 1.3 :family "hack")))) -;; '(org-level-2 ((t (:inherit outline-2 :height 1.2 :family "source code pro")))) -;; '(org-level-3 ((t (:inherit outline-2 :height 1.2 :family "mono")))) -;; '(org-level-4 ((t (:inherit outline-2 :height 1.0)))) -;; '(org-level-5 ((t (:inherit outline-2 :height 1.0))))) - - -;; (defvar my-linum-current-line-number 0) - -;; (setq linum-format 'my-linum-relative-line-numbers) - -;; (defun my-linum-relative-line-numbers (line-number) -;; (let ((test2 (1+ (- line-number my-linum-current-line-number)))) -;; (propertize -;; (number-to-string (cond ((<= test2 0) (1- test2)) -;; ((> test2 0) test2))) -;; 'face 'linum))) - -;; (defadvice linum-update (around my-linum-update) -;; (let ((my-linum-current-line-number (line-number-at-pos))) -;; ad-do-it)) -;; (ad-activate 'linum-update) - -;; ;; Theme (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(custom-safe-themes - '("97db542a8a1731ef44b60bc97406c1eb7ed4528b0d7296997cbb53969df852d6" default)) + '("5a611788d47c1deec31494eb2bb864fde402b32b139fe461312589a9f28835db" "234dbb732ef054b109a9e5ee5b499632c63cc24f7c2383a849815dacc1727cb6" "1d5e33500bc9548f800f9e248b57d1b2a9ecde79cb40c0b1398dec51ee820daf" "97db542a8a1731ef44b60bc97406c1eb7ed4528b0d7296997cbb53969df852d6" default)) '(doc-view-continuous t) - '(org-agenda-files '("~/Documents/org/agenda.org")) + '(org-agenda-files '("~/org/agenda.org")) '(package-selected-packages - '(elfeed-dashboard elfeed-goodies elfeed-web elfeed-tube-mpv elfeed-tube elfeed-org elfeed-score elfeed pdf-tools org-anki anki-connect quelpa-use-package exwm ##)) + '(modus-themes clippy pdf-tools org-anki anki-connect quelpa-use-package exwm ##)) '(warning-suppress-log-types '((erc) (erc))) '(warning-suppress-types '((color-theme) (erc) (erc)))) (custom-set-faces diff --git a/.doom.d/init.el b/.doom.d/init.el index 54e85b6..3880399 100644 --- a/.doom.d/init.el +++ b/.doom.d/init.el @@ -81,7 +81,7 @@ :checkers syntax ; tasing you for every semicolon you forget - (spell +flyspell) ; tasing you for misspelling mispelling + ;;(spell +flyspell) ; tasing you for misspelling mispelling ;;grammar ; tasing grammar mistake every you make :tools @@ -191,7 +191,7 @@ ;;emms everywhere ; *leave* Emacs!? You must be joking irc ; how neckbeards socialize - (rss +org) ; emacs as an RSS reader + rss ; emacs as an RSS reader twitter ; twitter client https://twitter.com/vnought :config |