aboutsummaryrefslogtreecommitdiff
path: root/bard-emacs-modules
diff options
context:
space:
mode:
authorbard <[email protected]>2024-03-23 22:00:06 -0400
committerbard <[email protected]>2024-03-23 22:00:06 -0400
commit4d6cf7e5a7b640ff0462d787f4b0d08c394db07a (patch)
tree296563b5e0be07d038c4b3fcc69845866a6cba68 /bard-emacs-modules
parent7f144e1950e8a81780554a70d08441a6c7b7d2a6 (diff)
gif looping and dired email attachments
Diffstat (limited to 'bard-emacs-modules')
-rw-r--r--bard-emacs-modules/bard-emacs-dired.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/bard-emacs-modules/bard-emacs-dired.el b/bard-emacs-modules/bard-emacs-dired.el
index e8a72f4..2cdda64 100644
--- a/bard-emacs-modules/bard-emacs-dired.el
+++ b/bard-emacs-modules/bard-emacs-dired.el
@@ -11,6 +11,7 @@
(setq dired-guess-shell-alist-user ; those are the suggestions for ! and & in Dired
'(("\\.\\(png\\|jpe?g\\|tiff\\)" "feh" "xdg-open")
("\\.\\(mp[34]\\|m4a\\|ogg\\|flac\\|webm\\|mkv\\)" "mpv" "xdg-open")
+ (".gif" "mpv --loop=inf")
(".*" "xdg-open")))
(add-hook 'dired-mode-hook #'dired-hide-details-mode)
@@ -20,3 +21,6 @@
(define-key dired-mode-map (kbd "E") #'emms-add-dired)
(define-key dired-mode-map (kbd "<tab>") #'dired-subtree-toggle)
(define-key dired-mode-map (kbd "<backtab>") #'dired-subtree-cycle)))
+
+;; hook for attaching emails mode
+(add-hook 'dired-mode-hook #'turn-on-gnus-dired-mode)