Option to display Omarchy boot time to the user on login #12301
rfaile313
started this conversation in
Suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Knowing how long it took to install omarchy is cool!
Let's provide users a simple option to see how fast omarchy boots every time they fire it up too:]
Omarchy auto-logs in, so the only thing you see between the splash logo and your desktop is the LUKS prompt. That gap is a natural place to show how long the boot took, and it turns out to be cheap to do from inside the initramfs.
I have it working as a small package here: https://github.com/rfaile313/omarchy-boottime
How it works:
encrypt, reads/proc/uptime, adds the firmware and loader time that Limine records in theLoaderTimeExecUSecEFI variable, and callsplymouth display-message.display-message, it just draws it top-left./etc/mkinitcpio.conf.d/inserts the hook.Total footprint is about 40 lines and nothing runs after the prompt. The figure is power-on to prompt, which is the part of boot a user actually waits through.
Would this be welcome in Omarchy as an option? Two shapes I can see:
omarchy toggle boot-time, which adds or removes the mkinitcpio drop-in and rebuilds.Happy to open a PR for whichever fits. The only known limitation is that it needs the busybox initramfs with the
encrypthook, which is what Omarchy installs today.All reactions