Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bobafetthotmail/refind-theme-regular


https://github.com/bobafetthotmail/refind-theme-regular

efi efi-application efi-drivers efi-partition refind refind-theme regular theme

Last synced: 12 days ago
JSON representation

Awesome Lists containing this project

README

        

# rEFInd theme Regular

A simplistic clean and minimal theme for [rEFInd](https://www.rodsbooks.com/refind/index.html)

NOTE: this is a fork of [munlik's theme](https://github.com/munlik/refind-theme-regular) 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](https://raw.githubusercontent.com/bobafetthotmail/refind-theme-regular/master/src/white_theme.png )

(dark theme selected)
![Screenshot 02](https://raw.githubusercontent.com/bobafetthotmail/refind-theme-regular/master/src/dark_theme.png)

### 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:

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

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

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

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`, which 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](http://www.rodsbooks.com/refind/) The official rEFInd website