*** Users can now add special image conversion functions.
This is done via 'image-converter-add-handler'.
----
-*** New library wallpaper.el.
-This library contains the command `wallpaper-set', which sets the
-desktop background.
-
-On GNU/Linux and other Unix-like systems, it uses an external command
-(such as "swaybg", "gm", "display" or "xloadimage"). A suitable
-command should be detected automatically in most cases, but can also
-be customized manually with the new user options 'wallpaper-command'
-and 'wallpaper-command-args' if needed.
-
-On Haiku, it uses the new function `haiku-set-wallpaper', which does
-not rely on any external command.
-
** Image-Dired
+++
of the image file. If the 'exiftool' program is available, it is used
to optionally rotate images which have the :rotation property.
+---
+** New package 'wallpaper'.
+This package provides the command `wallpaper-set', which sets the
+desktop background.
+
+On GNU/Linux and other Unix-like systems, it uses an external command
+(such as "swaybg", "gm", "display" or "xloadimage"). A suitable
+command should be detected automatically in most cases, but can also
+be customized manually with the new user options 'wallpaper-command'
+and 'wallpaper-command-args' if needed.
+
+On Haiku, it uses the new function `haiku-set-wallpaper', which does
+not rely on any external command.
+
+++
** New package 'oclosure'.
Allows the creation of "functions with slots" or "function objects"
-;;; wallpaper.el --- Set desktop wallpaper from Emacs -*- lexical-binding: t; -*-
+;;; wallpaper.el --- Change desktop background from Emacs -*- lexical-binding: t; -*-
;; Copyright (C) 2022 Free Software Foundation, Inc.
("xloadimage" "-onroot" "-fullscreen" "%f")
("xsetbg" " %f")
)
- "Executable used for setting the wallpaper.
+ "List of executables and options used for setting the wallpaper.
This is used by `wallpaper--find-command' to automatically set
`wallpaper-command', and by `wallpaper--find-command-args' to set
`wallpaper-command-args'. The commands will be tested in the
(defvar wallpaper-command-args) ; silence byte-compiler
(defun wallpaper--set-wallpaper-command (sym val)
- "Set `wallpaper-command', and update `wallpaper-command-args'."
- ;; Note: `command-args' is used by `wallpaper--find-command-arguments'.
+ "Set `wallpaper-command', and update `wallpaper-command-args'.
+Used to set `wallpaper-command'."
+ ;; Note: `wallpaper-command' is used by `wallpaper--find-command-arguments'.
(prog1 (set-default sym val)
(set-default 'wallpaper-command-args
(wallpaper--find-command-arguments))))
environment that is not automatically detected, we would love to
hear about it! Please send an email to bug-gnu-emacs@gnu.org and
tell us the command (and all options) that worked for you. You
-can also use \\[report-emacs-bug]."
+can also use \\[report-emacs-bug].
+
+The value of this variable is ignored on Haiku systems, where a
+native API will be used instead (see `haiku-set-wallpaper')."
:type
'(choice
(radio
with the full file name, \"%h\" with the height of the selected
frame's display (as returned by `display-pixel-height'), and
\"%w\" with the width of the selected frame's display (as
-returned by `display-pixel-width')."
+returned by `display-pixel-width').
+
+If `wallpaper-set' is run from a TTY frame, it will prompt for a
+height and width for \"%h\" and \"%w\" instead.
+
+The value of this variable is ignored on Haiku systems, where a
+native API will be used instead (see `haiku-set-wallpaper')."
:type '(repeat string)
:group 'image
:version "29.1")
"Set the desktop background to FILE in a graphical environment.
On GNU/Linux and other Unix-like systems, this relies on an
-external command. Which command is being used depends on the
-user option `wallpaper-commands'.
+external command. Which command to use is automatically detected
+in most cases, but can be manually customized with the user
+options `wallpaper-command' and `wallpaper-command-args'.
On Haiku, no external command is needed, so the value of
`wallpaper-commands' is ignored."