narumi is a major mode for a dashboard. It shows a random sampled image from a directory, bookmarks, and recent files. You can change the wallpaper to the image on the dashboard. Since it is a dashboard, you can go to the entries of bookmarks and recent files by clicking them. The following image is a screenshot of the mode.
You can install the package from Melpa:
M-x package-install RET narumi
narumi selects an image from the customizable variable narumi-image-directory
at random.
It refreshes the dashboard when you type r
.
When you type RET
on ""Set the image as the wallpaper."
, narumi passes the file path to customized variable narumi-wallpaper-cmd
.
The default function is for sway users, and the body is as below.
(defun narumi--sway-bg (wallpaper-path)
"Use the image at `WALLPAPER-PATH' as the wallpaper.
This works for sway users."
(concat "swaymsg output \"*\" bg \""
(shell-quote-argument wallpaper-path)
"\" fill"))