A bash script to automatically cycle throught grub2 themes on NobaraOS and Fedora
- Download the themes(for example) you want and save them to
/boot/grub2/themes
. The themes must have atheme.txt
directly inside it, like so
- Clone the repo and cd into it using
git clone https://github.com/GinOwO/Grub2-Theme-Cycle && cd Grub2-Theme-Cycle
- If you only want to run this script once, do so with
sudo bash grub-theme-cycle.sh
Otherwise run
sudo bash add-crontab-reboot.sh
to run the script at every reboot using a cronjob
Note
A log can be found at /var/log
Note
This can technically work on non Fedora distributions that use GRUB2. Just change the line containing grub2-mkconfig
to use update-grub
instead for Debian distributions. But I cannot test this hence I will not be modifying the script with this until I can do so.