adding hass and fixing mu4e
This commit is contained in:
parent
505274a62e
commit
c0b8f13a02
26
README.org
26
README.org
|
@ -43,6 +43,7 @@
|
||||||
- [[#bongo][Bongo]]
|
- [[#bongo][Bongo]]
|
||||||
- [[#emms][EMMS]]
|
- [[#emms][EMMS]]
|
||||||
- [[#transmission][Transmission]]
|
- [[#transmission][Transmission]]
|
||||||
|
- [[#hass][HASS]]
|
||||||
- [[#pass][Pass]]
|
- [[#pass][Pass]]
|
||||||
- [[#matrixement][Matrix/Ement]]
|
- [[#matrixement][Matrix/Ement]]
|
||||||
- [[#activitywatch][ActivityWatch]]
|
- [[#activitywatch][ActivityWatch]]
|
||||||
|
@ -2064,7 +2065,8 @@ I'm making a small function in here to open files in the appropriate program usi
|
||||||
(call-process "xdg-open" nil 0 nil file)))
|
(call-process "xdg-open" nil 0 nil file)))
|
||||||
|
|
||||||
(setq dired-dwim-target t
|
(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-listing-switches "-aoh --group-directories-first")
|
||||||
(setq dired-hide-details-hide-symlink-targets nil
|
(setq dired-hide-details-hide-symlink-targets nil
|
||||||
|
@ -2206,7 +2208,8 @@ Ledger mode
|
||||||
** MU4E
|
** MU4E
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package mu4e
|
(use-package mu4e
|
||||||
:ensure nil
|
;; :load-path "/etc/profiles/per-user/chris/share/emacs/site-lisp/mu4e/"
|
||||||
|
:straight nil
|
||||||
:config
|
:config
|
||||||
(setq mail-user-agent 'mu4e-user-agent)
|
(setq mail-user-agent 'mu4e-user-agent)
|
||||||
(setq mu4e-maildir "~/Maildir"
|
(setq mu4e-maildir "~/Maildir"
|
||||||
|
@ -2215,7 +2218,8 @@ Ledger mode
|
||||||
mu4e-get-mail-command "mbsync -a"
|
mu4e-get-mail-command "mbsync -a"
|
||||||
mu4e-update-interval (* 15 60)
|
mu4e-update-interval (* 15 60)
|
||||||
mu4e-attachment-dir "/home/chris/nextcloud/home/Documents/attachments"
|
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
|
(setq mu4e-contexts
|
||||||
(list
|
(list
|
||||||
|
@ -2263,7 +2267,7 @@ Ledger mode
|
||||||
(smtpmail-starttls-credentials . '(("mail.cochrun.xyz" 587 nil nil)))
|
(smtpmail-starttls-credentials . '(("mail.cochrun.xyz" 587 nil nil)))
|
||||||
(smtpmail-auth-credentials . '(("mail.cochrun.xyz" 587 "chris@cochrun.xyz" nil)))
|
(smtpmail-auth-credentials . '(("mail.cochrun.xyz" 587 "chris@cochrun.xyz" nil)))
|
||||||
(smtpmail-smtp-server . "mail.cochrun.xyz")
|
(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
|
(make-mu4e-context
|
||||||
:name "gmail"
|
:name "gmail"
|
||||||
:match-func
|
:match-func
|
||||||
|
@ -2939,6 +2943,20 @@ I use transmission on a server to manage my torrents
|
||||||
"ot" 'transmission))
|
"ot" 'transmission))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
** HASS
|
||||||
|
Hass is a package to control Home Assistant. I use HA so... I like HASS.
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(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))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
** Pass
|
** Pass
|
||||||
I like to keep my passwords in password-store for a very unixy way of doing things.
|
I like to keep my passwords in password-store for a very unixy way of doing things.
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
21
init.el
21
init.el
|
@ -1435,7 +1435,8 @@ targets."
|
||||||
(call-process "xdg-open" nil 0 nil file)))
|
(call-process "xdg-open" nil 0 nil file)))
|
||||||
|
|
||||||
(setq dired-dwim-target t
|
(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-listing-switches "-aoh --group-directories-first")
|
||||||
(setq dired-hide-details-hide-symlink-targets nil
|
(setq dired-hide-details-hide-symlink-targets nil
|
||||||
|
@ -1504,7 +1505,8 @@ targets."
|
||||||
(use-package ledger-mode)
|
(use-package ledger-mode)
|
||||||
|
|
||||||
(use-package mu4e
|
(use-package mu4e
|
||||||
:ensure nil
|
;; :load-path "/etc/profiles/per-user/chris/share/emacs/site-lisp/mu4e/"
|
||||||
|
:straight nil
|
||||||
:config
|
:config
|
||||||
(setq mail-user-agent 'mu4e-user-agent)
|
(setq mail-user-agent 'mu4e-user-agent)
|
||||||
(setq mu4e-maildir "~/Maildir"
|
(setq mu4e-maildir "~/Maildir"
|
||||||
|
@ -1513,7 +1515,8 @@ targets."
|
||||||
mu4e-get-mail-command "mbsync -a"
|
mu4e-get-mail-command "mbsync -a"
|
||||||
mu4e-update-interval (* 15 60)
|
mu4e-update-interval (* 15 60)
|
||||||
mu4e-attachment-dir "/home/chris/nextcloud/home/Documents/attachments"
|
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
|
(setq mu4e-contexts
|
||||||
(list
|
(list
|
||||||
|
@ -1561,7 +1564,7 @@ targets."
|
||||||
(smtpmail-starttls-credentials . '(("mail.cochrun.xyz" 587 nil nil)))
|
(smtpmail-starttls-credentials . '(("mail.cochrun.xyz" 587 nil nil)))
|
||||||
(smtpmail-auth-credentials . '(("mail.cochrun.xyz" 587 "chris@cochrun.xyz" nil)))
|
(smtpmail-auth-credentials . '(("mail.cochrun.xyz" 587 "chris@cochrun.xyz" nil)))
|
||||||
(smtpmail-smtp-server . "mail.cochrun.xyz")
|
(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
|
(make-mu4e-context
|
||||||
:name "gmail"
|
:name "gmail"
|
||||||
:match-func
|
:match-func
|
||||||
|
@ -2156,6 +2159,16 @@ interfere with the default `bongo-playlist-buffer'."
|
||||||
:keymaps 'override
|
:keymaps 'override
|
||||||
"ot" 'transmission))
|
"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
|
(use-package auth-source-pass
|
||||||
:defer 1
|
:defer 1
|
||||||
:config (auth-source-pass-enable))
|
:config (auth-source-pass-enable))
|
||||||
|
|
Loading…
Reference in a new issue