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

Slideshow images loaded when needed (#241) #242

Merged
merged 3 commits into from
Jan 10, 2022
Merged

Conversation

JezerM
Copy link

@JezerM JezerM commented Sep 19, 2021

Closes #241

Description

  • Before these changes, slideshow images were loaded at startup, providing a static method to load them when required. Now, slideshow images are loaded when needed.
  • At first, images path are stored statically. After slideshow-interval, i3lock loads the next image; if all images were read, then reloads the images path, allowing to add/remove/change these images.
  • Also, only files that match an image type are stored in memory.

Release notes

Notes: Slideshow images are loaded when needed

Copy link
Owner

@Raymo111 Raymo111 left a comment

Choose a reason for hiding this comment

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

LGTM

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.

Slideshow Image Loading Improvements
2 participants