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