Skip to content

Commit

Permalink
tweak: minor edits
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Jun 20, 2023
1 parent 7041206 commit b3f3474
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/me-daemon.el
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

;; Email (mu4e)
(+lazy-when! (memq 'me-email minemacs-modules)
(when (and +mu4e-available-p +mu4e-auto-start (require 'mu4e nil t))
(when (and +mu4e-available-p +mu4e-auto-start (require 'mu4e nil t))
(unless (mu4e-running-p)
(+info! "Starting `mu4e' in background.")
(let ((inhibit-message t))
Expand Down
2 changes: 1 addition & 1 deletion modules/me-email.el
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
(advice-add
'mu4e-update-mail-and-index :around
(defun +mu4e--update-mail-quitely-a (origfn run-in-background)
(+info! "Getting new emails")
(mu4e-message "Getting new emails")
(apply origfn '(t)))))

;; Reply to iCalendar meeting requests
Expand Down
1 change: 1 addition & 0 deletions modules/me-media.el
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"Open URL with MPV."
(start-process +mpv-process-name +mpv-buffer-name +mpv-command url))

;; Automatically open Youtube links in MPV
(setq browse-url-browser-function
`((,(rx (seq "http" (? ?s) "://" (? "www.") (or "youtube.com" "youtu.be"))) . +browse-url-mpv)
("." . browse-url-default-browser))))
Expand Down

0 comments on commit b3f3474

Please sign in to comment.