From b2a862b56835a63245e4872a82e4da455f2523dc Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Tue, 21 Jan 2025 09:44:48 +1100 Subject: [emacs] small fixes to emms and fediorg/exitter emms: reset score delta to 1 if last command is not emms-playlist-mode-play-smart fediorg: show thumbnails only when they are legit image files --- emacs/.emacs.d/init/ycp-complete.el | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'emacs/.emacs.d/init/ycp-complete.el') diff --git a/emacs/.emacs.d/init/ycp-complete.el b/emacs/.emacs.d/init/ycp-complete.el index d123989..2caca0a 100644 --- a/emacs/.emacs.d/init/ycp-complete.el +++ b/emacs/.emacs.d/init/ycp-complete.el @@ -308,7 +308,14 @@ (:name qutebrowser :command my-browse-url-qutebrowser) (:name download-and-open :command my-fetch-url))) (setq hmm-external-handlers - '((:name mpv + '((:name feh + :external-command "feh %U" + :display-name "feh image viewer" + :description "Open url with feh" + :schemes + ("ftp" "http" "https" "mms" "rtmp" "rtsp" "sftp" "smb" "srt") + :handling :url) + (:name mpv :external-command "mpv %U" :display-name "mpv player" :description "Play url with mpv" -- cgit v1.2.3