Set the Nasa Picture of the Day as your wallpaper, zoom background and Teams background!
This script is made to run on Linux. Tested only on Ubuntu >= 24.04 with i3wm >= 4.23
jqUsed to parse the APOD API output. Could probably be replaced by a simple regex but eh 🤷- (Optional)
fehUsed to set up the desktop wallpaper. For now this is only tested on i3, for Gnomeman fehrecommends usinggsettings set org.gnome.desktop.background picture-uri file:///pathinstead. - (Optional)
zoomThis program can change the virtual background you use on zoom - (Optional)(Experimental)
teams-for-linuxThis program can change the virtual background you use on Teams. This is highly experimental, refer to./teams/README.mdfor more details.
- Clone the repo and run the
post-install.shscript. The script will add a line to the current user's crontab to run NWotD every hour. - Change the config in
index.shWALLPAPER_DIRmust be an existing directory. Last downloaded wallpapers are stored there.ZOOM_BACKGROUND_PATHis 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 -w >> /var/log/nwotd.log 2>&1
The script supports some parameter to tweak its actions:
-f(force) By default the script doesn't run if$TODAY_WP_PATHis less than 12h old,-fprevents that-z(zoom) Update the$ZOOM_BACKGROUND_PATHfile-w(wallpaper) Update the wallpaper withfeh