truemmerer / animated_wallpaper_helper Goto Github PK
View Code? Open in Web Editor NEWManage animated_wallpaper
License: GNU General Public License v3.0
Manage animated_wallpaper
License: GNU General Public License v3.0
Hello,
Just been playing around with this script and found a bug in awp/awp.sh
.
It looks like, spaces in filenames make it crash for many reasons.
One of the reasons is call to gsettings
, another might be animated-wallpaper
.
Part of the path is most probably interpreted as the next command arguments.
Solution:
I believe it would be enough to add a quote characters around the paths in script, where variables are involved.
For example:
Instead of this: mkdir -p $Bilddir
Something like this: mkdir -p "$Bilddir"
It should be amended everywhere in awp.sh
in my opinion.
Hi,
It is worth to change source for git repository animated-wallpaper
.
Instead of cloning Ninlives/animated-wallpaper
, stable fork would be better to download and to use.
I can see that Truemmerer/animated-wallpaper
fork exists, so supposedly it was originally intended?
However update of Truemmerer/animated-wallpaper
will be also required as it seems to be a bit outdated and doesn't work.
(Tested on Fedora 36, GNOME 42.6)
animated_wallpaper_helper/README.md
Line 31 in 97d1896
Isn't this a contradiction?
On PopOS, the wallpaper turn black everytime I restart the computer.
I install it using a youtube video and that work well.
the video got downloaded at ~/Videos/Animated_Wallpapers/rising_light_animated.mkv
and got converted to webm at ~/Videos/Animated_Wallpapers/rising_light_animated-convert.webm
So at next restart I have to re-run the script and re-create the wallpaper using a local path (To not re-download all the video)
If you need any other info, just tell me.
From @FlrQue
My second suggestion would be to replace $Bilddir and $Download variables with only one called $rootDir and point it to ~/Videos/Animated_Wallpapers. This is just example location, it could be still user's homedir instead of "Videos". (P.S. according to xdg-user-dirs, you are making a lot of noise in homedir )
Greetings!
Issue is that awp.sh uses variable $Bilddir
and $Download
as storage location.
However, later on - when saving lastpicture.txt
and lastvideo.txt
files - it ignores that variable and goes with ~/Animated_Wallpapers
.
I suggest moving these text files to the hidden .cache
directory in user's homedir (~/.cache/Animated_Wallpapers
?).
My second suggestion would be to replace $Bilddir
and $Download
variables with only one called $rootDir
and point it to ~/Videos/Animated_Wallpapers
. This is just example location, it could be still user's homedir instead of "Videos". (P.S. according to xdg-user-dirs, you are making a lot of noise in homedir )
This small change will make this script more complaint with common standards and, honestly, a lot more friendly.
youtube-dl has serious download speed issues, use yt-dlp instead https://github.com/yt-dlp/yt-dlp
I'll try to create a PR on this next week
I would like to make the selection dialogue more user-friendly and therefore switch to the list dialogue that is fed by an array.
There seems to be a floating fi
right at the end of the install.sh
file. Removing the fi
does not seem to stop the installer, but my arch desktop refused to run awp.sh
after the installation because of insufficient permissions.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.