Init cleanup

master
trémeur 2 years ago
parent e1e1670687
commit de1bc3590e

@ -117,7 +117,7 @@
(setq dimmer-fraction 0.4)) (setq dimmer-fraction 0.4))
(use-package doom-modeline (use-package doom-modeline
;; nice-looking modeline ;; nice-looking modeline; new versions may be broken?
:init :init
(doom-modeline-mode 1) (doom-modeline-mode 1)
:config :config
@ -207,14 +207,15 @@
:height 2.0)) :height 2.0))
(add-hook 'nov-mode-hook 'my-nov-font-setup)) (add-hook 'nov-mode-hook 'my-nov-font-setup))
(use-package deft (unless (atwork)
;; for searching journal files (use-package deft
:config ;; for searching journal files
(setq deft-extensions '("org")) :config
(setq deft-directory "~/Documents/drive/org/journal") (setq deft-extensions '("org"))
(setq deft-ignore-file-regexp ".*[0-9][0-9][0-9][0-9]\.org") ;; lol (setq deft-directory "~/Documents/drive/org/journal")
(setq deft-current-sort-method 'title) (setq deft-ignore-file-regexp ".*[0-9][0-9][0-9][0-9]\.org") ;; lol
(setq deft-recursive t)) (setq deft-current-sort-method 'title)
(setq deft-recursive t)))
(use-package markdown-mode (use-package markdown-mode
:mode (("README\\.md\\'" . gfm-mode) :mode (("README\\.md\\'" . gfm-mode)
@ -326,11 +327,6 @@
(use-package org-agenda-property) (use-package org-agenda-property)
;; lets properties inherit ;; lets properties inherit
(use-package org-analyzer
;; time tracking visualiser
:config
(setq org-directory "~/Documents/drive/org"))
(unless (islin) (unless (islin)
(use-package org-bullets (use-package org-bullets
;; makes bullets look nice ;; makes bullets look nice
@ -418,15 +414,13 @@
(elfeed-make-tagger :before "6 months ago" (elfeed-make-tagger :before "6 months ago"
:remove 'unread)) :remove 'unread))
;; Email? ;; Email
(when (islin) (when (islin)
(add-to-list 'load-path "/usr/share/emacs/site-lisp/mu4e") (add-to-list 'load-path "/usr/share/emacs/site-lisp/mu4e")
(load-file "~/.emacs.d/mail.el") (load-file "~/.emacs.d/mail.el")
(require 'mu4e) ;; this uses cl … hopefully will be updated in a later emacs version? (require 'mu4e) ;; this uses cl … hopefully will be updated in a later emacs version?
(setq send-mail-function 'smtpmail-send-it) (setq send-mail-function 'smtpmail-send-it))
;; (load-file "~/.emacs.d/custom/dwpost.el")
)
;; Aesthetics ;; Aesthetics
@ -450,11 +444,6 @@
(use-package tao-theme) (use-package tao-theme)
(load-theme 'tao-yang t) (load-theme 'tao-yang t)
;; (when (islin) ;; not working in emacs27?
;; (use-package xresources-theme)
;; ;; theme based on ~/.Xresources
;; )
(set-cursor-color "#61805c") (set-cursor-color "#61805c")
(set-face-attribute 'region nil :background "#fcf6a7") (set-face-attribute 'region nil :background "#fcf6a7")
(set-face-background 'hl-line "#ddffd6") (set-face-background 'hl-line "#ddffd6")

Loading…
Cancel
Save