statox / NWotD

Nasa Wallpaper of the Day

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nasa Wallpaper of the Day 🚀

Set the Nasa Picture of the Day as your wallpaper and zoom background!

Requirements

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 but should work on other window managers like Gnome.
  • zoom This program can change the virtual background you use on zoom

Installation

  1. 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.
  2. Change the config in index.sh
    1. WALLPAPER_DIR must be an existing directory. Last downloaded wallpapers are stored there.
    2. 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.

Startup configuration

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

Usage

The script supports some parameter to tweak its actions:

  • --nozoom prevents changing the zoom wallpaper
  • --nowallpaper prevents change the desktop wallpaper

About

Nasa Wallpaper of the Day

License:MIT License


Languages

Language:Shell 100.0%