aboutsummaryrefslogtreecommitdiff
path: root/bard-emacs-modules
diff options
context:
space:
mode:
authorbard <[email protected]>2024-04-01 18:09:19 -0400
committerbard <[email protected]>2024-04-01 18:09:19 -0400
commit244069251b5b184f0367f99fa3a31fd9b54350ba (patch)
tree286d65eec4672473a7a70e5961f5b267dc27e7c1 /bard-emacs-modules
parent1c45af93e29fdd8599bc43e5def112eae5eae74d (diff)
small tweak for opening images
Diffstat (limited to 'bard-emacs-modules')
-rw-r--r--bard-emacs-modules/bard-emacs-dired.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/bard-emacs-modules/bard-emacs-dired.el b/bard-emacs-modules/bard-emacs-dired.el
index 2cdda64..2d3433d 100644
--- a/bard-emacs-modules/bard-emacs-dired.el
+++ b/bard-emacs-modules/bard-emacs-dired.el
@@ -8,11 +8,11 @@
(lambda()
(local-unset-key (kbd "C-j"))))
- (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")))
+(setq dired-guess-shell-alist-user ; those are the suggestions for ! and & in Dired
+ '(("\\.\\(png\\|jpe?g\\|tiff\\)" "nsxiv" "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)