Skip to content

noraj/refind-theme-regular

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rEFInd theme Regular

A simplistic clean and minimal theme for rEFInd

(default settings) Screenshot 01

(dark theme selected) Screenshot 02

press F10 to take screenshot

Installation [Quick]:

  1. Just paste this command in your terminal and enter your choices.

    # sh -c "$(curl -fsSL https://raw.githubusercontent.com/noraj/refind-theme-regular/master/install.sh)"
    
  2. To further adjust icon size, font size, background color and selector color edit theme.conf.

    $ sudoedit /boot/efi/EFI/refind/themes/refind-theme-regular/theme.conf
    

Installation [Manual]:

  1. Clone git repository to your $HOME directory.

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

    $ rm -rf refind-theme-regular/{src,.git}
    
    $ 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.

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

    # rm -rf /boot/efi/EFI/refind/{regular-theme,refind-theme-regular}
    
    # mkdir -p /boot/efi/EFI/refind/themes/refind-theme-regular/
    # cp -r refind-theme-regular/. /boot/efi/EFI/refind/themes/refind-theme-regular/
    
  4. To adjust icon size, font size, background color and selector color edit theme.conf.

    $ sudoedit /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.

    $ sudoedit /boot/efi/EFI/refind/refind.conf
    

NOTE: If your not geting your full resolution or have 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. 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

Credits

This is a fork of bobafetthotmail's theme which is a fork of munlik's theme.

Why bobafetthotmail forked munlik's theme:

Because he wanted to add a dark theme and munlik was unresponsive for years.

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.

Why did I forked bobafetthotmail's:

Because bobafetthotmail missunderstood my thoughts and so refused my PR. I wanted to make a cleaner and more standard deployment.

What changed:

  • deploy the theme in the themes folder (refindpath/themes/refind-theme-regular) rather than at refind root (refindpath/refind-theme-regular)
  • indenpotent recursive copy: avoiding the copy to mess 1/2 times see this post
  • README:
    • remove sudo when unnecessary
    • use safer sudoedit rather than sudo anyeditor
    • use $ for normal user and # for root permissions