sgsax / apod-desktop

Script to set your Linux desktop wallpaper to the Astronomy Picture of the Day.
4 stars 4 forks source link

MATE support #8

Open GlassOnTin opened 3 years ago

GlassOnTin commented 3 years ago

Thanks for the script. Please can you include MATE support as follows:

"mate") gsettings set org.mate.background picture-filename "$imgfile" ;;

and *) echo "Usage: apod gnome1|gnome22|gnome24|gnome3|kde|mate|fvwm|fvwm-xv|xfce|xfce4|hsetroot|i3wm" ;;

GlassOnTin commented 3 years ago

I see there is a problem for MATE when downloading large files from apod. MATE updates the desktop image during the download.

One way to fix this is to download to a second image location when the first already exists (see attached) apod.zip