unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: emacs-devel@gnu.org
Subject: New library wallpaper.el pushed to master
Date: Tue, 13 Sep 2022 12:28:12 -0400	[thread overview]
Message-ID: <CADwFkmm5ctptVO0NyKtX9KqeJFZQtmJVJrKwsFbZYczh7+icOg@mail.gmail.com> (raw)
In-Reply-To: <CADwFkmnGyc+CuJCZBUN8zVzYDf00kfy28GtcMw97E2DUFBq=Uw@mail.gmail.com>

Stefan Kangas <stefan@marxist.se> writes:

> I'm looking at teaching image-dired.el to set your desktop background.
> Because A) this finishes a TODO that has been in that file for going on
> 15 years, and B) any respectable image viewer must know how to set your
> desktop background.
>
> However, this code is not really tied to image-dired.el; only one line
> and the name of the defun ties it to that library.  For example, it
> could be used in thumbs.el (that has similar capabilities), and it could
> even be useful as a stand-alone command.
>
> So I started thinking that just like the recently added gravatar.el,
> perhaps we should put this stuff in a new library
> lisp/image/desktop-background.el?

I have now pushed the new library wallpaper.el and changed thumbs.el and
image-dired.el to use it.  It has the new command `wallpaper-set', and
the user option `wallpaper-commands' to control it.

I don't expect it to not work on anything but GNU/Linux for now, but
patches and suggestions are obviously very welcome.  (I hope that it
will be easy to add checks for different environments by adding new
`cl-defgeneric's.)

Thanks to Tassilo Horn for useful pointers in the previous discussion on
how to handle Sway/Wayland and Gnome.



  parent reply	other threads:[~2022-09-13 16:28 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-27 16:41 desktop-background.el as a new library? Stefan Kangas
2021-10-27 19:02 ` Tassilo Horn
2021-10-27 19:51   ` Stefan Kangas
2021-10-28  2:36     ` Po Lu
2021-10-29 17:26 ` Arthur Miller
2021-10-29 17:44   ` Stefan Kangas
2021-11-15 20:51     ` Arthur Miller
2022-09-13 16:28 ` Stefan Kangas [this message]
2022-09-13 16:54   ` New library wallpaper.el pushed to master Eli Zaretskii
2022-09-13 17:09     ` Stefan Kangas
2022-09-13 17:22       ` Eli Zaretskii
2022-09-14  7:13         ` Stefan Kangas
2022-09-14  7:36           ` Stefan Kangas
2022-09-14  7:36           ` Po Lu
2022-09-14 11:10           ` Stefan Kangas
2022-09-14 11:44           ` Eli Zaretskii
2022-09-14 12:01             ` Stefan Kangas
2022-09-15 16:48               ` Stefan Kangas
2022-09-15 11:59           ` Eli Zaretskii
2022-09-15 13:39             ` Po Lu
2022-09-15 13:44               ` Eli Zaretskii
2022-09-15 13:49                 ` Po Lu
2022-09-14  2:46   ` Po Lu
2022-09-14  6:39     ` Po Lu
2022-09-14  7:04       ` Stefan Kangas
2022-09-14  7:33         ` Po Lu
2022-09-14 11:53           ` Stefan Kangas
2022-09-14 12:30             ` Stefan Kangas
2022-09-14 13:42             ` Po Lu
2022-09-14 16:58           ` Sean Whitton
2022-09-15  7:28             ` Stefan Kangas
2022-09-15 16:19               ` Sean Whitton
2022-09-16  1:27                 ` Po Lu
2022-09-14 11:39       ` Eli Zaretskii
2022-09-14 11:52         ` Stefan Kangas
2022-09-14 12:01           ` Eli Zaretskii
2022-09-14 12:07             ` Stefan Kangas
2022-09-14 12:24             ` Po Lu
2022-09-14 12:41               ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADwFkmm5ctptVO0NyKtX9KqeJFZQtmJVJrKwsFbZYczh7+icOg@mail.gmail.com \
    --to=stefankangas@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).