aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/init
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/init')
-rw-r--r--emacs/.emacs.d/init/ycp-complete.el9
1 files changed, 8 insertions, 1 deletions
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"