aboutsummaryrefslogtreecommitdiff
path: root/hmm.el
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2025-01-19 12:13:48 +1100
committerYuchen Pei <id@ypei.org>2025-01-19 12:13:48 +1100
commit318723000cad21c0134eefd33e310b953ddbbe7f (patch)
tree79a5648c4d9ac8bf84a566eda0f594053c2db9d6 /hmm.el
parenta0660da71f9aef8909973e9fd44b5eb34db0386b (diff)
Add feh as a common external commandHEADmaster
Diffstat (limited to 'hmm.el')
-rw-r--r--hmm.el9
1 files changed, 8 insertions, 1 deletions
diff --git a/hmm.el b/hmm.el
index 5bfabf4..45a14eb 100644
--- a/hmm.el
+++ b/hmm.el
@@ -59,7 +59,14 @@
Transforms from one type to another type.")
(defvar 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"