Add current state of emacs folder.
This commit is contained in:
parent
33161c88ba
commit
6b694fd58a
2 changed files with 3 additions and 3 deletions
|
@ -46,7 +46,7 @@ with lib;
|
||||||
(define-key elfeed-search-mode-map [remap elfeed-search-show-entry] 'elfeed-search-show-entry-custom)
|
(define-key elfeed-search-mode-map [remap elfeed-search-show-entry] 'elfeed-search-show-entry-custom)
|
||||||
|
|
||||||
(defun elfeed-get-yt-description (url)
|
(defun elfeed-get-yt-description (url)
|
||||||
(shell-command-to-string (format "${pkgs.youtube-dl}/bin/youtube-dl --get-description \"%s\" 2> /dev/null" url)))
|
(shell-command-to-string (format "${pkgs.yt-dlp}/bin/yt-dlp --get-description \"%s\" 2> /dev/null" url)))
|
||||||
|
|
||||||
(defun elfeed-get-sd-article (url)
|
(defun elfeed-get-sd-article (url)
|
||||||
(eval-string (shell-command-to-string (format "${pyEnv}/bin/python3 ${pyScript} \"%s\" 2> /dev/null" url))))
|
(eval-string (shell-command-to-string (format "${pyEnv}/bin/python3 ${pyScript} \"%s\" 2> /dev/null" url))))
|
||||||
|
|
|
@ -52,7 +52,7 @@ in
|
||||||
(setq mail-user-agent 'mu4e-user-agent)
|
(setq mail-user-agent 'mu4e-user-agent)
|
||||||
(setq org-mu4e-link-query-in-headers-mode t)
|
(setq org-mu4e-link-query-in-headers-mode t)
|
||||||
(setq mu4e-maildir "~/.mail/Mail")
|
(setq mu4e-maildir "~/.mail/Mail")
|
||||||
(setq mu4e-get-mail-command "${pkgs.isync}/bin/mbsync -a")
|
(setq mu4e-get-mail-command "${pkgs.isync.override { withCyrusSaslXoauth2 = true; }}/bin/mbsync -a")
|
||||||
(setq mu4e-context-policy 'pick-first)
|
(setq mu4e-context-policy 'pick-first)
|
||||||
(setq mu4e-change-filenames-when-moving t)
|
(setq mu4e-change-filenames-when-moving t)
|
||||||
(setq starttls-use-gnutls t)
|
(setq starttls-use-gnutls t)
|
||||||
|
@ -117,6 +117,6 @@ in
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
mu
|
mu
|
||||||
isync
|
(isync.override { withCyrusSaslXoauth2 = true; })
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue