Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added rendering mode parameter functionality #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ArthurDeveloper
Copy link

You can optionally change how the wallpaper will be rendered by giving a third argument, just like the example shown below:

$ ./loop_pngs.sh ~/Desktop/forest 0.05 f

In this case, it will stretch the gif if it ain't the exact proportions of the screen, for instance, if you used a 1366x768
gif in a 1980x1080 monitor it would have black borders in normal mode, however, with f the whole background will be filled (although
some of the image quality might be lost)

$ ./loop_pngs.sh ~/Desktop/forest 0.05 f
```
In this case, it will stretch the gif if it ain't the exact proportions of the screen, for instance, if you used a 1366x768
gif in a 1980x1080 monitor it would have black borders in normal mode, however, with f the whole background will be filled (although
Copy link
Owner

@sdaveas sdaveas Dec 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just my ocds kicking in

Suggested change
gif in a 1980x1080 monitor it would have black borders in normal mode, however, with f the whole background will be filled (although
gif in a 1980x1080 monitor it would have black borders in normal mode, however, with `f` the whole background will be filled (although

@sdaveas
Copy link
Owner

sdaveas commented Dec 31, 2023

Thank you for the contribution and sorry for the super late response!

Could you please remove the generated *.png files from the git history?

We generally don't need to track all gifs (the ones included are just some defaults). But if you do want to track this 🦍, adding the original .gif file in /gifs should be fine (as the individual .png files can be created with generate_pngs.sh).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants