Set the Nasa Picture of the Day as your wallpaper and zoom background!
This script is made to run on linux. Tested only on Ubuntu >= 22.04
with i3wm >= 4.20.1
feh
Used to set up the desktop wallpaper. For now this is only tested on i3, for Gnomeman feh
recommends usinggsettings set org.gnome.desktop.background picture-uri file:https:///path
instead.zoom
This program can change the virtual background you use on zoomjq
Used to parse the APOD API output. Could probably be replaced by a simple regex but eh 🤷
- Clone the repo and run the
post-install.sh
script. The script will add a line to the current user's crontab to run NWotD every hour. - Change the config in
index.sh
WALLPAPER_DIR
must be an existing directory. Last downloaded wallpapers are stored there.ZOOM_BACKGROUND_PATH
is the path to the virtual background file in zoom. You need to set a virtual background through the application first to create the image with a random name. Use this random name in the variable.
With i3 you can configure the script to run on start up by adding the following line in your $HOME/.config/i3/config
file:
exec_always --no-startup-id /path/to/NWotD/index.sh >> /var/log/nwotd.log 2>&1
The script supports some parameter to tweak its actions:
-z
(no zoom) prevents changing the zoom wallpaper-w
(no wallpaper) prevents changing the desktop wallpaper