├── README.md ├── banner.psd ├── initramfs-theme.conf └── themes └── initramfs ├── banner.png ├── icons ├── func_firmware.png ├── func_reset.png ├── func_shutdown.png ├── os_arch.png ├── os_gentoo.png └── os_win.png ├── selection-big.png ├── selection-small.png └── source-code-pro-extralight-42.png /README.md: -------------------------------------------------------------------------------- 1 | ## My rEFInd theme 2 | 3 | This repository represents my current bootloader theme. 4 | 5 | ![initramfs' rEFInd theme](https://i.imgur.com/8ddmLhT.png) 6 | 7 | ## Usage 8 | 9 | 1. Copy the themes folder from this repository into your rEFInd directory within your EFI partition. 10 | 2. Copy the initramfs-theme.conf to your rEFInd directory within your EFI partition. 11 | 3. Edit your refind.conf file to include the initramfs-theme.conf file. 12 | 4. For Windows, Arch Linux or Gentoo Linux systems, point the icon to EFI/refind/themes/initramfs/icons/os_win.png, EFI/refind/themes/initramfs/icons/os_arch.png or EFI/refind/themes/initramfs/icons/os_gentoo.png respectively. 13 | 14 | Since rEFInd has no mechanism for a primary title, the title has been baked into the banner (background) file. A PSD file is provided containing both the raw background and the foreground title as seperate layers such that you can generate your own banner.png from that. 15 | Replace the file in themes/initramfs/banner.png 16 | 17 | Given that I have a 4K panel, some of these graphics may be extremely large on lower resolution screens. In those cases, halving the resolution of the icons (and setting the new sizes as appropriate in the initramfs-theme.conf file) can be done for proper scaling. Note: I haven't tweaked any resolution settings in rEFInd, my system seems to automatically load a full resolution bootloader (some systems run reduced-resolution bootloaders). 18 | 19 | ## Attribution 20 | 21 | This theme was inspired by [rEFInd-minimal](https://github.com/EvanPurkhiser/rEFInd-minimal/) in terms of style. 22 | 23 | The arch icon was taken directly from the [Arch Linux website](https://www.archlinux.org/art/), whereas the rest I simply found via google image search and modified them to fit my scheme. 24 | Since this was initially merely a private project, I apologize for not providing sources to where I got the images (I don't really remember anymore). 25 | -------------------------------------------------------------------------------- /banner.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/initramfs/rEFInd-Theme/88755efb4574bd73a2e6a6367d507ccda6983d73/banner.psd -------------------------------------------------------------------------------- /initramfs-theme.conf: -------------------------------------------------------------------------------- 1 | # 2 | # initramfs-theme.conf 3 | # Theme configuration file for the rEFInd boot menu 4 | # 5 | 6 | # Hide user interface elements for personal preference or to increase 7 | # security: 8 | # banner - the rEFInd title banner (built-in or loaded via "banner") 9 | # label - boot option text label in the menu 10 | # singleuser - remove the submenu options to boot macOS in single-user 11 | # or verbose modes; affects ONLY macOS 12 | # safemode - remove the submenu option to boot macOS in "safe mode" 13 | # hwtest - the submenu option to run Apple's hardware test 14 | # arrows - scroll arrows on the OS selection tag line 15 | # hints - brief command summary in the menu 16 | # editor - the options editor (+, F2, or Insert on boot options menu) 17 | # badges - device-type badges for boot options 18 | # all - all of the above 19 | # Default is none of these (all elements active) 20 | # 21 | hideui label singleuser safemode hwtest arrows hints editor badges 22 | 23 | # Set the name of a subdirectory in which icons are stored. Icons must 24 | # have the same names they have in the standard directory. The directory 25 | # name is specified relative to the main rEFInd binary's directory. If 26 | # an icon can't be found in the specified directory, an attempt is made 27 | # to load it from the default directory; thus, you can replace just some 28 | # icons in your own directory and rely on the default for others. 29 | # Icon files may be in any supported format -- ICNS (*.icns), BMP (*.bmp), 30 | # PNG (*.png), or JPEG (*.jpg or *.jpeg); however, rEFInd's BMP and JPEG 31 | # implementations do not support transparency, which is highly desirable 32 | # in icons. 33 | # Default is "icons". 34 | # 35 | icons_dir themes/initramfs/icons 36 | 37 | # Use a custom title banner instead of the rEFInd icon and name. The file 38 | # path is relative to the directory where refind.efi is located. The color 39 | # in the top left corner of the image is used as the background color 40 | # for the menu screens. Currently uncompressed BMP images with color 41 | # depths of 24, 8, 4 or 1 bits are supported, as well as PNG and JPEG 42 | # images. (ICNS images can also be used, but ICNS has limitations that 43 | # make it a poor choice for this purpose.) PNG and JPEG support is 44 | # limited by the underlying libraries; some files, like progressive JPEGs, 45 | # will not work. 46 | # 47 | banner themes/initramfs/banner.png 48 | 49 | # Specify how to handle banners that aren't exactly the same as the screen 50 | # size: 51 | # noscale - Crop if too big, show with border if too small 52 | # fillscreen - Fill the screen 53 | # Default is noscale 54 | # 55 | banner_scale noscale 56 | 57 | # Icon sizes. All icons are square, so just one value is specified. The 58 | # big icons are used for OS selectors in the first row and the small 59 | # icons are used for tools on the second row. Drive-type badges are 1/4 60 | # the size of the big icons. Legal values are 32 and above. If the icon 61 | # files do not hold icons of the proper size, the icons are scaled to 62 | # the specified size. The default values are 48 and 128 for small and 63 | # big icons, respectively. 64 | # 65 | small_icon_size 144 66 | big_icon_size 256 67 | 68 | # Custom images for the selection background. There is a big one (144 x 144) 69 | # for the OS icons, and a small one (64 x 64) for the function icons in the 70 | # second row. If only a small image is given, that one is also used for 71 | # the big icons by stretching it in the middle. If only a big one is given, 72 | # the built-in default will be used for the small icons. If an image other 73 | # than the optimal size is specified, it will be scaled in a way that may 74 | # be ugly. 75 | # 76 | # Like the banner option above, these options take a filename of an 77 | # uncompressed BMP, PNG, JPEG, or ICNS image file with a color depth of 78 | # 24, 8, 4, or 1 bits. The PNG or ICNS format is required if you need 79 | # transparency support (to let you "see through" to a full-screen banner). 80 | # 81 | selection_big themes/initramfs/selection-big.png 82 | selection_small themes/initramfs/selection-small.png 83 | 84 | # Set the font to be used for all textual displays in graphics mode. 85 | # For best results, the font must be a PNG file with alpha channel 86 | # transparency. It must contain ASCII characters 32-126 (space through 87 | # tilde), inclusive, plus a glyph to be displayed in place of characters 88 | # outside of this range, for a total of 96 glyphs. Only monospaced fonts 89 | # are supported. Fonts may be of any size, although large fonts can 90 | # produce display irregularities. 91 | # The default is rEFInd's built-in font, Luxi Mono Regular 12 point. 92 | # 93 | font themes/initramfs/source-code-pro-extralight-42.png 94 | 95 | # Which non-bootloader tools to show on the tools line, and in what 96 | # order to display them: 97 | # shell - the EFI shell (requires external program; see rEFInd 98 | # documentation for details) 99 | # memtest - the memtest86 program, in EFI/tools, EFI/memtest86, 100 | # EFI/memtest, EFI/tools/memtest86, or EFI/tools/memtest 101 | # gptsync - the (dangerous) gptsync.efi utility (requires external 102 | # program; see rEFInd documentation for details) 103 | # gdisk - the gdisk partitioning program 104 | # apple_recovery - boots the Apple Recovery HD partition, if present 105 | # windows_recovery - boots an OEM Windows recovery tool, if present 106 | # (see also the windows_recovery_files option) 107 | # mok_tool - makes available the Machine Owner Key (MOK) maintenance 108 | # tool, MokManager.efi, used on Secure Boot systems 109 | # csr_rotate - adjusts Apple System Integrity Protection (SIP) 110 | # policy. Requires "csr_values" to be set. 111 | # install - an option to install rEFInd from the current location 112 | # to another ESP 113 | # bootorder - adjust the EFI's (NOT rEFInd's) boot order 114 | # about - an "about this program" option 115 | # hidden_tags - manage hidden tags 116 | # exit - a tag to exit from rEFInd 117 | # shutdown - shuts down the computer (a bug causes this to reboot 118 | # many UEFI systems) 119 | # reboot - a tag to reboot the computer 120 | # firmware - a tag to reboot the computer into the firmware's 121 | # user interface (ignored on older computers) 122 | # fwupdate - a tag to update the firmware; launches the fwupx64.efi 123 | # (or similar) program 124 | # netboot - launch the ipxe.efi tool for network (PXE) booting 125 | # Default is shell,memtest,gdisk,apple_recovery,windows_recovery,mok_tool,about,hidden_tags,shutdown,reboot,firmware,fwupdate 126 | # 127 | showtools reboot shutdown firmware 128 | -------------------------------------------------------------------------------- /themes/initramfs/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/initramfs/rEFInd-Theme/88755efb4574bd73a2e6a6367d507ccda6983d73/themes/initramfs/banner.png -------------------------------------------------------------------------------- /themes/initramfs/icons/func_firmware.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/initramfs/rEFInd-Theme/88755efb4574bd73a2e6a6367d507ccda6983d73/themes/initramfs/icons/func_firmware.png -------------------------------------------------------------------------------- /themes/initramfs/icons/func_reset.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/initramfs/rEFInd-Theme/88755efb4574bd73a2e6a6367d507ccda6983d73/themes/initramfs/icons/func_reset.png -------------------------------------------------------------------------------- /themes/initramfs/icons/func_shutdown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/initramfs/rEFInd-Theme/88755efb4574bd73a2e6a6367d507ccda6983d73/themes/initramfs/icons/func_shutdown.png -------------------------------------------------------------------------------- /themes/initramfs/icons/os_arch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/initramfs/rEFInd-Theme/88755efb4574bd73a2e6a6367d507ccda6983d73/themes/initramfs/icons/os_arch.png -------------------------------------------------------------------------------- /themes/initramfs/icons/os_gentoo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/initramfs/rEFInd-Theme/88755efb4574bd73a2e6a6367d507ccda6983d73/themes/initramfs/icons/os_gentoo.png -------------------------------------------------------------------------------- /themes/initramfs/icons/os_win.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/initramfs/rEFInd-Theme/88755efb4574bd73a2e6a6367d507ccda6983d73/themes/initramfs/icons/os_win.png -------------------------------------------------------------------------------- /themes/initramfs/selection-big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/initramfs/rEFInd-Theme/88755efb4574bd73a2e6a6367d507ccda6983d73/themes/initramfs/selection-big.png -------------------------------------------------------------------------------- /themes/initramfs/selection-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/initramfs/rEFInd-Theme/88755efb4574bd73a2e6a6367d507ccda6983d73/themes/initramfs/selection-small.png -------------------------------------------------------------------------------- /themes/initramfs/source-code-pro-extralight-42.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/initramfs/rEFInd-Theme/88755efb4574bd73a2e6a6367d507ccda6983d73/themes/initramfs/source-code-pro-extralight-42.png --------------------------------------------------------------------------------