Skip to content

bobafetthotmail/refind-theme-regular

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

press F10 to take screenshot

(default settings) Screenshot 01

(dark theme selected) Screenshot 02

Installation [Quick]:

  1. Just paste this command in your terminal and enter your choices.
    sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/bobafetthotmail/refind-theme-regular/master/install.sh)"
    
  2. To further adjust icon size, font size, background color and selector color edit /boot/efi/EFI/refind/themes/refind-theme-regular/theme.conf as root/SuperUser.

Installation [Manual]:

  1. Clone git repository to your $HOME directory.

    git clone https://github.com/bobafetthotmail/refind-theme-regular.git
    
  2. Remove unused directories and files.

    sudo rm -rf refind-theme-regular/{src,.git}
    
    sudo rm refind-theme-regular/install.sh
    
  3. Locate refind directory under EFI partition. For most Linux based system is commonly /boot/efi/EFI/refind/. Copy theme directory to it. Here, we will copy it to themes subdirectory inside refind.

    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 rm -rf /boot/efi/EFI/refind/themes/{regular-theme,refind-theme-regular}
    
    sudo mkdir -p /boot/efi/EFI/refind/themes
    
    sudo cp -r refind-theme-regular /boot/efi/EFI/refind/themes/
    
  4. To adjust icon size, font size, background color and selector color edit theme.conf.

    sudo vi /boot/efi/EFI/refind/themes/refind-theme-regular/theme.conf
    
  5. To enable the theme add include themes/refind-theme-regular/theme.conf at the end of refind.conf, and comment out or delete any other themes you might have installed.

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

NOTE: If you're not getting your full resolution or having color issues, then try disabling the CSM in your UEFI settings.

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. Refind uses the file name to select the right icon, so icons for Linux OS must have the correct OS name from that distro's /etc/os-release file "ID" or ID_LIKE" entries, for example if ID=cachyos the icon name becomes os_cachyos.svg

  4. 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.

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

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

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

  8. Commit your changes, upload to your fork and then open a PR.

More information

rEFInd The official rEFInd website