{"id":19737324,"url":"https://github.com/lxtharia/minegrub-world-sel-theme","last_synced_at":"2025-05-16T13:06:41.546Z","repository":{"id":196741211,"uuid":"697031636","full_name":"Lxtharia/minegrub-world-sel-theme","owner":"Lxtharia","description":"A grub theme in the style of the Minecraft singleplayer (sp) world selection screen!","archived":false,"fork":false,"pushed_at":"2025-05-12T17:08:10.000Z","size":25525,"stargazers_count":340,"open_issues_count":2,"forks_count":13,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-05-12T17:56:59.180Z","etag":null,"topics":["grub-theme","minecraft"],"latest_commit_sha":null,"homepage":"","language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lxtharia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-09-26T23:09:07.000Z","updated_at":"2025-05-12T17:08:14.000Z","dependencies_parsed_at":"2024-08-09T21:03:05.860Z","dependency_job_id":"874b9777-b7d2-416e-b9a7-968cce8ddd81","html_url":"https://github.com/Lxtharia/minegrub-world-sel-theme","commit_stats":null,"previous_names":["lxtharia/minegrub-sp-theme","lxtharia/minegrub-world-sel-theme"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lxtharia%2Fminegrub-world-sel-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lxtharia%2Fminegrub-world-sel-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lxtharia%2Fminegrub-world-sel-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lxtharia%2Fminegrub-world-sel-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lxtharia","download_url":"https://codeload.github.com/Lxtharia/minegrub-world-sel-theme/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254535828,"owners_count":22087399,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["grub-theme","minecraft"],"created_at":"2024-11-12T01:10:33.833Z","updated_at":"2025-05-16T13:06:41.540Z","avatar_url":"https://github.com/Lxtharia.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"**The Minecraft Grub Theme Trio:**\n\n| [Minecraft Main Menu](https://github.com/Lxtharia/minegrub-theme) | *\u003e Minecraft World Selection Menu \u003c* | [Using both themes together](https://github.com/Lxtharia/double-minegrub-menu) |\n| --- | --- | --- |\n\n**Also check out these other projects:**\n| [Minecraft SDDM Theme](https://github.com/Davi-S/sddm-theme-minesddm) by Davi-S | [Minecraft Plymouth Theme](https://github.com/nikp123/minecraft-plymouth-theme) by nikp123 |\n| --- | --- |\n\n# Minecraft World Selection Grub Theme\n\nWowie, another Minecraft grub theme! But this time it's in the style of the singleplayer world selection menu, which makes a little more sense than selecting your operating system from the main menu.\nThere are also *icons* now! Isn't that great? And even better, they also include the descriptive text below each boot option!\n\n![Minegrub Preview Screenshot](assets/theme-preview.png)\n\n# Installation\n\n- Clone this repository\n  ```\n  git clone https://github.com/Lxtharia/minegrub-world-sel-theme.git\n  ```\n- [Optional]: Choose the background matching your screen size from `assets/background-scaled/...`\n  - And copy it to `minegrub-world-selection/background.png`\n- Enter the cloned repository\n  ```\n  cd ./minegrub-world-sel-theme\n  ```\n- Copy the folder to your boot partition\n  \u003e **NOTE**: \n  \u003e On some distros (like fedora) the path is `/boot/grub2/...` instead of `/boot/grub/...` so you might need to adjust the commands for that\n  ```\n  sudo cp -ruv ./minegrub-world-selection /boot/grub/themes/\n  ```\n- Change/add these line in your `/etc/default/grub`:\n  ```\n  GRUB_TERMINAL_OUTPUT=gfxterm\n  GRUB_THEME=/boot/grub/themes/minegrub-world-selection/theme.txt\n  ```\n- Update your live grub config\n  - Run this command:\n     ```\n    sudo grub-mkconfig -o /boot/grub/grub.cfg\n    ```\n  - Or this on Fedora:\n    ```\n    sudo grub2-mkconfig -o /boot/grub2/grub.cfg\n    ```\n\n### NixOS flake\n\n\u003cdetails\u003e\n\u003csummary\u003eMinimal example\u003c/summary\u003e\n\n```nix\n# flake.nix\n{\n  inputs.minegrub-world-sel-theme.url = \"github:Lxtharia/minegrub-world-sel-theme\";\n  # ...\n\n  outputs = {nixpkgs, ...} @ inputs: {\n    nixosConfigurations.HOSTNAME = nixpkgs.lib.nixosSystem {\n      modules = [\n        ./configuration.nix\n        inputs.minegrub-world-sel-theme.nixosModules.default\n      ];\n    };\n  }\n}\n\n# configuration.nix\n{ pkgs, ... }: {\n\n  boot.loader.grub = {\n    minegrub-world-sel = {\n      enable = true;\n      customIcons = [{\n        name = \"nixos\";\n        lineTop = \"NixOS (23/11/2023, 23:03)\";\n        lineBottom = \"Survival Mode, No Cheats, Version: 23.11\";\n        # Icon: you can use an icon from the remote repo, or load from a local file\n        imgName = \"nixos\";\n        # customImg = builtins.path {\n        #   path = ./nixos-logo.png;\n        #   name = \"nixos-img\";\n        # };\n      }];\n    };\n  };\n\n}\n```\n\u003c/details\u003e\n\n\n\n\n# Icons\n\nGRUB can add icons to each entry, based on the `--class` properties of a `menuentry`.\nThis theme makes use of this to have each entry have its own icon _and_ world description!\n**Example:**\n```bash\n# grub will try to use /boot/grub/themes/minegrub-world-selection/icons/arch.png as the icon and falls back on  gnu-linux.png,  gnu.png  and  os.png\nmenuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-somefunnyuuid' {\n  ...\n}\n```\n\n## Setting icons for entries like Uefi Settings\n\n\u003e If you want items like Uefi Settings to have an icon, you need to add `--class uefi` manually to the menuentry line in `/boot/grub/grub.cfg`:\n\u003e\n\u003e  `menuentry \"Uefi Settings\" --class uefi ...`\n\u003e\n\u003e In this case you can put it in `/etc/grub.d/30_uefi-firmware` so it doesn't get overwritten when you regenerate your grub.cfg :\u003e\n\n\n## [Generating/Contributing icons](icon-generator/README.md)\n\nClick to read more ^\n\n# Great\n\n- I like writing Readme but at the same time, it takes too long and it's never perfect\n- Everything feels like chaos\n- I spent too much time on this\n- Tell your grandparents and pets about this cool theme!\n- Put it on your laptop, put it on your smartwatch put it on your schools PCs (i won't take responsibility if you get expelled)\n- Install it on your mouse-with-screen, copy it to your flash drives\n- Btw, have I mentioned that I use arch?\n- I have a grand secret project that I may reveal soon\n- Maybe it eats your food, maybe it doesn't\n- Thank you internet for wisdom and funny youtube clips that kept me motivated on my journey\n- **Go check out the other Minegrub: [Minegrub Theme](https://github.com/Lxtharia/minegrub-theme)**\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flxtharia%2Fminegrub-world-sel-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flxtharia%2Fminegrub-world-sel-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flxtharia%2Fminegrub-world-sel-theme/lists"}