This repository has been archived by the owner on Dec 23, 2018. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello sdias or anyone who reads this :)
I've never used github before so this is my first time trying to contribute and contact someone. I've been messing with this all week.
I added a feature that will rotate desktop backgrounds based on a file of ./wallpapers/~Auto.jpg being chosen in settings.ini.
What it will do it when viewing a desktop with ~Auto.ini as the background it will choose a file at random from the /wallpapers directory, copy it as ~Auto.jpg then refresh the desktop background ~Auto.jpg.
I've checked it for bugs as thoroughly as I can and it works well except for one problem. If you switch from a desktop with with a solid color to an ~Auto.jpg desktop the file will be copied but the desktop will not refresh. It will remain old ~Auto.jpg. I have no idea why.
Any tips or hints as to the problem?
I'd love it if you would make the code better any way you can or even make it part of next release.
Instructions
create wallpapers folder in script folder along with the others (docs, icons, libraries..etc)
add wallpapers you would like to rotate between to wallpapers folder
ADD to settings.ini in [Wallpapers] section ****
AutoFileRefreshMinutes=
a) Set the time interval in minutes you want to change the background
b) Then just make any desktop you want automatically changed set to ~Auto.jpg
For exmaple
[Wallpapers]
AutoFileRefreshMinutes=30
1=~Auto.jpg
End Example