diff options
author | Thanos Apollo <[email protected]> | 2022-08-03 16:16:10 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2022-08-03 16:16:10 +0300 |
commit | d6a1af71c3ce758c1469e4e3ffb3874da4db2f2b (patch) | |
tree | b0f3965577127bef5c15f4f384dcfc45da8bfe3a /.doom.d | |
parent | cbd617d469455ee2f27344e1a5bd5c06d05c3206 (diff) |
Update elfeed keybindings, add spotify keybindings
Diffstat (limited to '.doom.d')
-rw-r--r-- | .doom.d/config.el | 42 |
1 files changed, 38 insertions, 4 deletions
diff --git a/.doom.d/config.el b/.doom.d/config.el index 6a3e419..c1b5c5f 100644 --- a/.doom.d/config.el +++ b/.doom.d/config.el @@ -1,4 +1,28 @@ ;;; $DOOMDIR/config.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 + '("5a611788d47c1deec31494eb2bb864fde402b32b139fe461312589a9f28835db" "234dbb732ef054b109a9e5ee5b499632c63cc24f7c2383a849815dacc1727cb6" "1d5e33500bc9548f800f9e248b57d1b2a9ecde79cb40c0b1398dec51ee820daf" "97db542a8a1731ef44b60bc97406c1eb7ed4528b0d7296997cbb53969df852d6" default)) + '(doc-view-continuous t) + '(org-agenda-files '("~/org/agenda.org")) + '(package-selected-packages + '(spotify smudge bash-completion ac-html org-inline-pdf org-noter-pdftools 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 + ;; 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))))) ;; Place your private configuration here! Remember, you do not need to run 'doom ;; sync' after modifying this file! @@ -134,14 +158,15 @@ ad-do-it)) (ad-activate 'linum-update) -;; Theme ;; Elfeed -;; -(global-set-key (kbd "C-c e") 'elfeed) -(global-set-key (kbd "C-c u") 'elfeed-update) (require 'elfeed) +(map! :leader + (:prefix-map ("e" . "Elfeed") + :desc "Open" "o" #'elfeed + :desc "Update feed" "u" #'elfeed-update-feed + :desc "Update all" "a" #'elfeed-update)) (use-package elfeed :config (setq elfeed-search-feed-face ":foreground #fff :weight bold" @@ -173,3 +198,12 @@ (evil-define-key 'normal elfeed-search-mode-map (kbd "J") 'elfeed-goodies/split-show-next (kbd "K") 'elfeed-goodies/split-show-prev) + +;; Spotify +(require 'spotify) +(map! :leader + (:prefix-map ("S" . "Spotify") + :desc "Next song" "n" #'spotify-next + :desc "Previous song" "p" #'spotify-previous + :desc "Stop" "s" #'spotify-pause + :desc "Play" "P" #'spotify-play)) |