saint-13 / Linux_Dynamic_Wallpapers

Dynamic Wallpapers for Linux
742 stars 61 forks source link

Add Interactive Install script #40

Closed shkuviak closed 1 year ago

shkuviak commented 1 year ago

Introduction

One of the biggest problem with this huge repo is the time and data needed to clone it. It can be very annoying with slow network connections.

Solution

Add an interactive scipt than only download and install wallpapers selected by user.

Details

This PR add a script called Interactive_Install.sh which can be called by end user without cloning the entire repo using curl:

curl -s "https://raw.githubusercontent.com/saint-13/Linux_Dynamic_Wallpapers/main/Interactive_Install.sh" | sudo bash

Script light checkout the .git repository folder (without checking out all blobs) and display a checkbox list of all available wallpapers to the user in the terminal.

User can select wanted wallpapers and script will checkout and install them.

Issues

I faced an issue: XML Slideshow filenames and Wallpapers folder names were not consistent for some of them. That's why i renamed them and added a python script in tests/check_names.py to test that all names are consistent