Skip to content

Latest commit

 

History

History
61 lines (40 loc) · 2.4 KB

README.md

File metadata and controls

61 lines (40 loc) · 2.4 KB

rEFInd theme Regular

A simplistic clean and minimal theme for rEFInd

NOTE: this is a fork of munlik's theme since he seems to have abandoned his project, he didn't answer to (my) PRs on github for years.

Screenshot 01 **press F10 to take screenshot

Installation:

  1. Clone git repository to your $HOME directory.

    git clone https://github.com/bobafetthotmail/refind-theme-regular.git
    
  2. Locate refind directory under EFI partition. For most Linux based system is commonly /boot/efi/EFI/refind/. Copy theme directory to it.

    Important: Delete older installed versions of this theme before you proceed any further.

    sudo rm -rf /boot/efi/EFI/refind/{regular-theme,refind-theme-regular}
    
    sudo cp -r refind-theme-regular /boot/efi/EFI/refind/
    
  3. Remove unused directory.

    sudo rm -rf /boot/efi/EFI/refind/refind-theme-regular/{src,.git}
    
  4. To adjust icon size and font size edit theme.conf.

    sudo nano /boot/efi/EFI/refind/refind-theme-regular/theme.conf
    
  5. To enable the theme add include refind-theme-regular/theme.conf at the end of refind.conf.

    sudo nano /boot/efi/EFI/refind/refind.conf
    

Contribute new icons:

  1. fork this repository on github and then git clone your fork of this repository in your Linux system

  2. The icons must be in svg format to allow easy generation of icons at any scale, canvas size must have width and height 128 px for OS icons, or 48 px for tool icons. The actual icon in the svg file should roughly fit in a square with a side of 96 px or 20 px (for OS and tool icons, respectively). Inkscape is a good program to create and work with svg files.

  3. Copy the svg file in /src/svg/big or /src/svg/small (depending on what is more appropriate) and rename them to be consistent with others.

  4. Install inkskape and optipng in your linux system as they will be needed to process the icons by the next step.

  5. cd in the ./src directory and run the script ./render_bitmap.sh that will process the svg files and generate the png files at various sizes.

  6. copy the png icons you generated from their /src/bitmap subfolder into the appropriate /icons subfolders for their size by running ./copy-bitmap.sh

  7. commit your changes, upload to your fork and then open a PR.

More information

rEFInd The official rEFInd website