https://github.com/Lxtharia/minegrub-theme Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Resources + Customer Stories + White papers, Ebooks, Webinars + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. {{ message }} Lxtharia / minegrub-theme Public * Notifications * Fork 13 * Star 1.2k A Grub Theme in the style of Minecraft! License MIT license 1.2k stars 13 forks Star Notifications * Code * Issues 2 * Pull requests 0 * Actions * Projects 0 * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Security * Insights Lxtharia/minegrub-theme This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 2 branches 2 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/L] Use Git or checkout with SVN using the web URL. [gh repo clone Lxthar] Work fast with our official CLI. Learn more about the CLI. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @Lxtharia Lxtharia Changed version to 1.2.0 ... 75764c2 Jun 15, 2023 Changed version to 1.2.0 75764c2 Git stats * 69 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time assets Moved some files to new ./assets/ folder June 15, 2023 18:30 resources Moved some files to new ./assets/ folder June 15, 2023 18:30 LICENSE Create LICENSE December 4, 2022 14:48 Minecraft.pf2 Fixed font size December 3, 2022 18:10 Minecraft24.pf2 selected font yellow, fullscreen terminal with smaller font February 26, 2023 18:25 Monocraft22.pf2 Styled terminal with border and extra font February 27, 2023 00:07 README.md Moved some files to new ./assets/ folder June 15, 2023 18:30 background.png Seperated logo from background December 16, 2022 19:03 dirt.png Styled terminal with border and extra font February 27, 2023 00:07 item_c.png adjusted pixmaps to position the shadow text correctly December 19, 2022 01:14 item_e.png adjusted pixmaps to position the shadow text correctly December 19, 2022 01:14 item_n.png adjusted pixmaps to position the shadow text correctly December 19, 2022 01:14 item_ne.png adjusted pixmaps to position the shadow text correctly December 19, 2022 01:14 item_nw.png adjusted pixmaps to position the shadow text correctly December 19, 2022 01:14 item_s.png adjusted pixmaps to position the shadow text correctly December 19, 2022 01:14 item_se.png adjusted pixmaps to position the shadow text correctly December 19, 2022 01:14 item_sw.png adjusted pixmaps to position the shadow text correctly December 19, 2022 01:14 item_w.png adjusted pixmaps to position the shadow text correctly December 19, 2022 01:14 logo.png Added the logo with splashtext December 18, 2022 01:40 selected_item_c.png adjusted pixmaps to position the shadow text correctly December 19, 2022 01:14 selected_item_e.png adjusted pixmaps to position the shadow text correctly December 19, 2022 01:14 selected_item_n.png adjusted pixmaps to position the shadow text correctly December 19, 2022 01:14 selected_item_ne.png adjusted pixmaps to position the shadow text correctly December 19, 2022 01:14 selected_item_nw.png adjusted pixmaps to position the shadow text correctly December 19, 2022 01:14 selected_item_s.png adjusted pixmaps to position the shadow text correctly December 19, 2022 01:14 selected_item_se.png adjusted pixmaps to position the shadow text correctly December 19, 2022 01:14 selected_item_sw.png adjusted pixmaps to position the shadow text correctly December 19, 2022 01:14 selected_item_w.png adjusted pixmaps to position the shadow text correctly December 19, 2022 01:14 static_bar.png Added shadow December 20, 2022 12:49 term_e.png Added darkening background when in terminal February 27, 2023 00:54 term_n.png Added darkening background when in terminal February 27, 2023 00:54 term_ne.png Added darkening background when in terminal February 27, 2023 00:54 term_nw.png Added darkening background when in terminal February 27, 2023 00:54 term_s.png Added darkening background when in terminal February 27, 2023 00:54 term_se.png Added darkening background when in terminal February 27, 2023 00:54 term_sw.png Added darkening background when in terminal February 27, 2023 00:54 term_w.png Added darkening background when in terminal February 27, 2023 00:54 theme.txt Changed version to 1.2.0 June 15, 2023 18:44 update_theme.py Remove redundant string June 14, 2023 21:30 View code [ ] Minegrub Installation Note: grub vs grub2 Random splash texts and accurate "x Packages Installed" text! Update splash and "Packages Installed"... ...without systemd ...with systemd Adjusting for a different amount of boot options: Notes: Thanks to README.md Minegrub A Grub Theme in the style of Minecraft! Minegrub Preview "Screenshot" Installation Note: grub vs grub2 + Check if you have a /boot/grub2 folder instead of a /boot/ grub folder in which case you would just have to adjust the file paths mentioned here and in the assets/ minegrub-update.service file + Also if you're not sure, run grub-mkconfig -V to check if you have grub version 2 (you should have) * Clone this repository git clone https://github.com/Lxtharia/minegrub-theme.git * Copy the folder to your boot partition: (for info: -ruv = recursive, update, verbose) sudo cp -ruv ./minegrub-theme/* /boot/grub/themes/minegrub-theme/ * Change/add this line in your /etc/default/grub: GRUB_THEME=/boot/grub/themes/minegrub-theme/theme.txt * Update your live grub config by running sudo grub-mkconfig -o /boot/grub/grub.cfg * You're good to go! Random splash texts and accurate "x Packages Installed" text! The update_theme.py script chooses a random line from resources/ splashes.txt and generates and replaces the logo.png which holds the splash text, as well as updates the amount of packages currently installed * Make sure neofetch is installed * Make sure Python 3 (or an equivalent) and the Pillow python package are installed + Install Pillow either with the python-pillow package from the AUR or with sudo -H pip3 install pillow + It's important to use sudo -H, because it needs to be available for the root user * To add new splash texts simply edit ./resources/splashes.txt and add them to the end of the file (if you add it at the beginning or in the middle, some splashes may never get used because the image cashing uses the line of the file the splash is on) * If you want to remove splashes you should reset the cache by deleting /boot/grub/themes/minegrub-theme/cache Update splash and "Packages Installed"... ...without systemd * Just run python /boot/grub/themes/minegrub-theme/update_theme.py (from anywhere) after boot using whatever method works for you ...with systemd * Edit ./assets/minegrub-update.service to use /boot/grub2/ on line 5 if applicable * Copy ./assets/minegrub-update.service to /etc/systemd/system * Enable the service: systemctl enable minegrub-update.service * If it's not updating after rebooting (it won't update on the first reboot because it updates after you boot into your system), check systemctl status minegrub-update.service for any errors (for example if pillow isn't installed in the correct scope) Adjusting for a different amount of boot options: * When you have more/less than 4 boot options, you might want to adjust the height of the bottom bar (that says "Options" and "Console") * The formula and some precalculated values (for 2,3,4,5... boot options) are in the theme.txt, so you should be able to easily change it to the correct value. Notes: * the GRUB_TIMEOUT_STYLE in the defaults/grub file should be set to menu, so it immediately shows the menu (else you would need to press ESC and you dont want that) * I'm no Linux expert, that's why I explain it so thoroughly, for other newbies :> * i use arch btw * i hope u like it, cause i sure do lmao Thanks to * https://github.com/toboot for giving me this wonderful idea! * the internet for giving me wisdom lmao (Mainly http:// wiki.rosalab.ru/en/index.php/Grub2_theme_tutorial) * The contributors for contributing and giving me some motivation to improve some little things here and there Font downloaded from https://www.fontspace.com/minecraft-font-f28180 and used for non commercial use. About A Grub Theme in the style of Minecraft! Topics grub2 grub2-theme grub-theme grub2-themes grub-themes Resources Readme License MIT license Stars 1.2k stars Watchers 10 watching Forks 13 forks Report repository Releases 2 v1.2.0 Latest Jun 15, 2023 + 1 release Packages 0 No packages published Contributors 5 * @Lxtharia * @duhby * @nicholasz2510 * @megz15 * @Jacksaur Languages * Python 100.0% Footer (c) 2023 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time.