saint-13 / Linux_Dynamic_Wallpapers

Dynamic Wallpapers for Linux
742 stars 61 forks source link

Symbolic links instead copy content #23

Closed barreiroleo closed 2 years ago

barreiroleo commented 2 years ago

To place the repository in a personal place and be able to sync with the remote branch without copying large amounts of files, it could use symbolic links.

Change these lines in the installer:

sudo cp -r ./Dynamic_Wallpapers/ /usr/share/backgrounds/
sudo cp ./xml/* /usr/share/gnome-background-properties/

For these:

sudo ln -s $(pwd)/Dynamic_Wallpapers /usr/share/backgrounds/Dynamic_Wallpapers
sudo ln -s $(pwd)/xml/* /usr/share/gnome-background-properties/

Greetings!

saint-13 commented 2 years ago

thanks for suggestion! I will give it a go.