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

Can I use dynamic image format? #47

Closed
qwq2519 opened this issue Dec 25, 2023 · 3 comments
Closed

Can I use dynamic image format? #47

qwq2519 opened this issue Dec 25, 2023 · 3 comments

Comments

@qwq2519
Copy link

qwq2519 commented Dec 25, 2023

I want the background to rotate, it will be very interesting

@Lxtharia
Copy link
Owner

Sadly, grub only supports .png files.
The only way I can think of to achieve this is maybe using the circular progress bar:

http://wiki.rosalab.ru/en/index.php/Grub2_theme_tutorial#circular_progress_-_Circular_indicator_of_elapsed_time
It will draw a set amount of "ticks" around a circle. (I don't know if they are rotated or not)
We have the option to use our background.png as the Tick image.

If we then place this progress circle at the top left corner, make it 1px high and 500px wide, then make it use 1000 ticks, we can get it to "move" one pixel at a time.
It depends on the timeout though. That means if you have a 15s timeout, it will try to move back and forth in 15 seconds.
It will stop if you press any key.

MIght be worth to try out!

@Lxtharia
Copy link
Owner

Closing this, see #50

@qwq2519
Copy link
Author

qwq2519 commented Mar 13, 2024

thanks

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

No branches or pull requests

2 participants