adding hass and fixing mu4e
This commit is contained in:
parent
505274a62e
commit
c0b8f13a02
2 changed files with 39 additions and 8 deletions
21
init.el
21
init.el
|
@ -1435,7 +1435,8 @@ targets."
|
|||
(call-process "xdg-open" nil 0 nil file)))
|
||||
|
||||
(setq dired-dwim-target t
|
||||
delete-by-moving-to-trash t)
|
||||
delete-by-moving-to-trash t
|
||||
dired-mouse-drag-files t)
|
||||
|
||||
(setq dired-listing-switches "-aoh --group-directories-first")
|
||||
(setq dired-hide-details-hide-symlink-targets nil
|
||||
|
@ -1504,7 +1505,8 @@ targets."
|
|||
(use-package ledger-mode)
|
||||
|
||||
(use-package mu4e
|
||||
:ensure nil
|
||||
;; :load-path "/etc/profiles/per-user/chris/share/emacs/site-lisp/mu4e/"
|
||||
:straight nil
|
||||
:config
|
||||
(setq mail-user-agent 'mu4e-user-agent)
|
||||
(setq mu4e-maildir "~/Maildir"
|
||||
|
@ -1513,7 +1515,8 @@ targets."
|
|||
mu4e-get-mail-command "mbsync -a"
|
||||
mu4e-update-interval (* 15 60)
|
||||
mu4e-attachment-dir "/home/chris/nextcloud/home/Documents/attachments"
|
||||
mu4e-completing-read-function #'completing-read)
|
||||
mu4e-completing-read-function #'completing-read
|
||||
mu4e-mu-binary "/etc/profiles/per-user/chris/bin/mu")
|
||||
|
||||
(setq mu4e-contexts
|
||||
(list
|
||||
|
@ -1561,7 +1564,7 @@ targets."
|
|||
(smtpmail-starttls-credentials . '(("mail.cochrun.xyz" 587 nil nil)))
|
||||
(smtpmail-auth-credentials . '(("mail.cochrun.xyz" 587 "chris@cochrun.xyz" nil)))
|
||||
(smtpmail-smtp-server . "mail.cochrun.xyz")
|
||||
(mu4e-compose-signature . "Praising God in all things,\nChris Cochrun")))
|
||||
(mu4e-compose-signature . "Praising God in all things,\nChris Cochrun\nchris@tfcconnection.org\nchris@cochrun.xyz")))
|
||||
(make-mu4e-context
|
||||
:name "gmail"
|
||||
:match-func
|
||||
|
@ -2156,6 +2159,16 @@ interfere with the default `bongo-playlist-buffer'."
|
|||
:keymaps 'override
|
||||
"ot" 'transmission))
|
||||
|
||||
(use-package hass
|
||||
:init
|
||||
(setq hass-host "home.cochrun.xyz"
|
||||
hass-port "443"
|
||||
hass-apikey "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiI2NDE1YTU5NzAzZDA0NDY0YTM0MmYzNTI1MjU0NjMwNyIsImlhdCI6MTY1Mjc1NjcwOSwiZXhwIjoxOTY4MTE2NzA5fQ.gGuxtwE2Xc1nGSgqpHiT2us-q04GWjtqnpgSHxvXgNI")
|
||||
(hass-setup)
|
||||
:general
|
||||
(chris/leader-keys
|
||||
"oh" 'hass-dash-open))
|
||||
|
||||
(use-package auth-source-pass
|
||||
:defer 1
|
||||
:config (auth-source-pass-enable))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue