used for images that are flagged for deletion in the Dired buffer
associated with Image-Dired.
+---
+*** New command 'image-dired-wallpaper-set'.
+This command sets the wallpaper to the image at point in the thumbnail
+buffer. It is bound to 'W' by default.
+
---
*** 'image-dired-slideshow-start' is now bound to 'S'.
It is bound in both the thumbnail and display buffer.
;;
;; file-name-non-directory;comment:comment-text;tag1;tag2;tag3;...;tagN
;;
-;;
;; PREREQUISITES
;; =============
;;
;; * From thumbs.el: Add an option for clean-up/max-size functionality
;; for thumbnail directory.
;;
-;; * From thumbs.el: Add setroot function.
-;;
;; * Add `image-dired-display-thumbs-ring' and functions to cycle that. Find out
;; which is best, saving old batch just before inserting new, or
;; saving the current batch in the ring when inserting it. Adding
(require 'dired)
(require 'image-mode)
+(require 'wallpaper)
(require 'widget)
(require 'xdg)
"SPC" #'image-dired-display-next-thumbnail-original
"DEL" #'image-dired-display-previous-thumbnail-original
"c" #'image-dired-comment-thumbnail
+ "W" #'image-dired-wallpaper-set
;; Mouse
"<mouse-2>" #'image-dired-mouse-display-image
(interactive "p" image-dired-thumbnail-mode image-dired-display-image-mode)
(image-dired-display-next-thumbnail-original (- arg)))
+(defun image-dired-wallpaper-set (file)
+ "Set the wallpaper to FILE in a graphical environment."
+ (interactive (list (image-dired-original-file-name))
+ image-dired-thumbnail-mode)
+ (wallpaper-set file))
+
\f
;;; Image Comments