Skip to content

Commit

Permalink
Add Razer theme
Browse files Browse the repository at this point in the history
  • Loading branch information
AdisonCavani committed Mar 16, 2022
1 parent 8fecea3 commit fea7e9d
Show file tree
Hide file tree
Showing 96 changed files with 101 additions and 25 deletions.
84 changes: 59 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,32 @@
# Distro Grub Themes

[![name](https://img.shields.io/github/license/AdisonCavani/distro-grub-themes)](https://github.com/AdisonCavani/distro-grub-themes/blob/master/LICENSE)
[![name](https://img.shields.io/github/v/release/AdisonCavani/distro-grub-themes)](https://github.com/AdisonCavani/distro-grub-themes/releases)
[![Build](https://github.com/AdisonCavani/distro-grub-themes/actions/workflows/update-content.yml/badge.svg?event=push)](https://github.com/AdisonCavani/distro-grub-themes/actions/workflows/update-content.yml)<br>

A pack of GRUB2 themes for different Linux distribution and OS.<br>
It aims to replace default Grub look, with nice and colorful theme.


## Get started
- [Themes](#themes)
* [Supported distributions](#supported-distributions)
* [Supported vendors](#supported-vendors)
- [Preview theme](#preview-theme)
* [Distro themes](#distro-themes)
* [Vendor themes](#vendor-themes)

- [Installation](#installation)
* [Installation via Grub Customizer](#installation-via-grub-customizer)
* [Manual Installation](#manual-installation)
* [Install theme in Ventoy](#install-theme-in-ventoy)
- [To-do list](#to-do-list)

- [Themes](#themes)
- [Supported distributions](#supported-distributions)
- [Supported vendors](#supported-vendors)
- [Preview theme](#preview-theme)

- [Distro themes](#distro-themes)
- [Vendor themes](#vendor-themes)

- [Installation](#installation)
- [Installation via Grub Customizer](#installation-via-grub-customizer)
- [Manual Installation](#manual-installation)
- [Install theme in Ventoy](#install-theme-in-ventoy)
- [To-do list](#to-do-list)

# Themes

## Supported distributions

- Arch Linux
- Arco Linux
- Artix Linux
Expand Down Expand Up @@ -51,6 +55,7 @@ It aims to replace default Grub look, with nice and colorful theme.
- Zorin OS

## Supported vendors

- Acer
- Aorus
- Asus
Expand All @@ -60,10 +65,12 @@ It aims to replace default Grub look, with nice and colorful theme.
- HP
- Lenovo
- MSI
- Razer
- System76
- Toshiba

## Preview theme

### Distro themes

<p float="left">
Expand Down Expand Up @@ -120,6 +127,7 @@ It aims to replace default Grub look, with nice and colorful theme.
</p>

### Vendor themes

<p float="left">
<img src="https://raw.githubusercontent.com/AdisonCavani/distro-grub-themes/master/preview/Acer.png" width="49%"/>
<img src="https://raw.githubusercontent.com/AdisonCavani/distro-grub-themes/master/preview/Aorus.png" width="49%"/>
Expand All @@ -145,40 +153,48 @@ It aims to replace default Grub look, with nice and colorful theme.
</p>

# Installation

## Installation via Grub Customizer

In order to clone repository from Github you have to install `git` package <br>
Alternatively you can download zip package - **Code -> Download ZIP**

#### Clone the repository

You can clone repository or go to [release page](https://github.com/AdisonCavani/distro-grub-themes/releases) and download a single theme

```
git clone https://github.com/AdisonCavani/distro-grub-themes.git
```

### Install Grub Customizer

Apt

```
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer
```

Pacman

```
sudo pacman -S grub-customizer
```

Eopkg

```
sudo eopkg install grub-customizer
```

### Install pre-made theme with Grub Customizer

- Open Grub Customizer
- Go to **Appearance settings** tab
- Select *Custom resolution* and type in your resolution. E.g: 1920x1080
- Press *Add theme* button, go to your directory, where you have cloned repository. In my case `/home/adison/distro-grub-theme`
- Select _Custom resolution_ and type in your resolution. E.g: 1920x1080
- Press _Add theme_ button, go to your directory, where you have cloned repository. In my case `/home/adison/distro-grub-theme`
- Select your theme located in `/themes` directory
- Save changes

Expand All @@ -188,58 +204,70 @@ sudo eopkg install grub-customizer
- With your file manager, inside edited theme directory, select all files and **create archive** with .tar or .tar.xz extension
- Open Grub Customizer
- Go to **Appearance settings** tab
- Enable *Custom resolution* checkbox and select your resolution or type it in manually. E.g: 1920x1080
- Press *Add theme* button, go to your directory, where you have cloned repository. In my case `/home/adison/distro-grub-theme`
- Change view settings from *Archive files* to **All files**
- Enable _Custom resolution_ checkbox and select your resolution or type it in manually. E.g: 1920x1080
- Press _Add theme_ button, go to your directory, where you have cloned repository. In my case `/home/adison/distro-grub-theme`
- Change view settings from _Archive files_ to **All files**
- Select your archive
- Save changes


## Manual Installation

In order to clone repository from Github you have to install `git` package <br>
Alternatively you can download zip package - **Code -> Download ZIP**

#### Clone the repository

You can clone repository or go to [release page](https://github.com/AdisonCavani/distro-grub-themes/releases) and download a single theme

```
git clone https://github.com/AdisonCavani/distro-grub-themes.git
```

#### Create themes directory

```
sudo mkdir /boot/grub/themes
```

#### Edit or use pre-made theme

```
cd distro-grub-themes/customize
```

#### Copy theme

Theme must be unpacked (in folder)

```
sudo cp -r ubuntu/ /boot/grub/themes
```

#### Edit Grub config

You can use your favourite text editor

```
sudo nano /etc/default/grub
```

Uncomment this line and set your resolution:

```
GRUB_GFXMODE=1920x1080
```

At the end of file add theme path:

```
GRUB_THEME="/boot/grub/themes/ubuntu/theme.txt"
```

Replace "ubuntu" with selected theme<br>
Ctrl+O to save, Ctrl+X to exit

#### Update Grub config

You will need to tell Grub to update its configuration to include the new theme.

Ubuntu and Debian-based systems:
Expand All @@ -255,20 +283,26 @@ sudo grub-mkconfig -o /boot/grub/grub.cfg
```

## Install theme in Ventoy
Extract ```Ventoy.tar``` to ```/ventoy/theme``` directory

Locate ```ventoy.json``` file in ```/plugin/ventoy/``` directory and change:
Extract `Ventoy.tar` to `/ventoy/theme` directory

Locate `ventoy.json` file in `/plugin/ventoy/` directory and change:

```
"file": "/ventoy/theme/blur/theme.txt",
```

to

```
"file": "/ventoy/theme/Ventoy/theme.txt",
```

For more information head over to [Ventoy website](https://www.ventoy.net/en/plugin_theme.html)

# To-do list
Feature | Status
------------ | -------------
4K & 2K displays support | In the future
Ultrawide display support | In the future

| Feature | Status |
| ------------------------- | ------------- |
| 4K & 2K displays support | In the future |
| Ultrawide display support | In the future |
Binary file added assets/background_template/razer_1080p.psd
Binary file not shown.
Binary file added assets/preview_template/razer_1080p.psd
Binary file not shown.
Binary file added customize/razer/background.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added customize/razer/icons/4MLinux.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added customize/razer/icons/AlpineLinux.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added customize/razer/icons/Manjaro.i686.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added customize/razer/icons/Manjaro.x86_64.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added customize/razer/icons/SystemRescueCD.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added customize/razer/icons/android.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added customize/razer/icons/anonymous.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added customize/razer/icons/antergos.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added customize/razer/icons/arch.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added customize/razer/icons/archlinux.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added customize/razer/icons/arcolinux.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added customize/razer/icons/artix.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added customize/razer/icons/cancel.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added customize/razer/icons/centos.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added customize/razer/icons/chakra.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added customize/razer/icons/debian.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added customize/razer/icons/deepin.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added customize/razer/icons/devuan.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added customize/razer/icons/driver.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added customize/razer/icons/edit.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added customize/razer/icons/efi.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added customize/razer/icons/elementary.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added customize/razer/icons/endeavouros.png
Binary file added customize/razer/icons/fedora.png
Binary file added customize/razer/icons/find.efi.png
Binary file added customize/razer/icons/find.none.png
Binary file added customize/razer/icons/freebsd.png
Binary file added customize/razer/icons/garuda.png
Binary file added customize/razer/icons/gentoo.png
Binary file added customize/razer/icons/gnu-linux.png
Binary file added customize/razer/icons/haiku.png
Binary file added customize/razer/icons/help.png
Binary file added customize/razer/icons/kali.png
Binary file added customize/razer/icons/kaos.png
Binary file added customize/razer/icons/kbd.png
Binary file added customize/razer/icons/korora.png
Binary file added customize/razer/icons/kubuntu.png
Binary file added customize/razer/icons/lang.png
Binary file added customize/razer/icons/lfs.png
Binary file added customize/razer/icons/linux.png
Binary file added customize/razer/icons/linuxmint.png
Binary file added customize/razer/icons/lubuntu.png
Binary file added customize/razer/icons/macosx.png
Binary file added customize/razer/icons/mageia.png
Binary file added customize/razer/icons/manjaro.png
Binary file added customize/razer/icons/mate.png
Binary file added customize/razer/icons/memtest.png
Binary file added customize/razer/icons/mx-linux.png
Binary file added customize/razer/icons/neon.png
Binary file added customize/razer/icons/opensuse.png
Binary file added customize/razer/icons/parrot.png
Binary file added customize/razer/icons/pop-os.png
Binary file added customize/razer/icons/pop.png
Binary file added customize/razer/icons/recovery.png
Binary file added customize/razer/icons/regolith.png
Binary file added customize/razer/icons/restart.png
Binary file added customize/razer/icons/rocky.png
Binary file added customize/razer/icons/shutdown.png
Binary file added customize/razer/icons/siduction.png
Binary file added customize/razer/icons/solus.png
Binary file added customize/razer/icons/steamos.png
Binary file added customize/razer/icons/type.png
Binary file added customize/razer/icons/tz.png
Binary file added customize/razer/icons/ubuntu.png
Binary file added customize/razer/icons/unknown.png
Binary file added customize/razer/icons/unset.png
Binary file added customize/razer/icons/ventoy.png
Binary file added customize/razer/icons/void.png
Binary file added customize/razer/icons/windows.png
Binary file added customize/razer/icons/windows11.png
Binary file added customize/razer/icons/xubuntu.png
Binary file added customize/razer/icons/zorin.png
Binary file added customize/razer/select_c.png
Binary file added customize/razer/select_e.png
Binary file added customize/razer/select_w.png
Binary file added customize/razer/terminal_box_c.png
Binary file added customize/razer/terminal_box_e.png
Binary file added customize/razer/terminal_box_n.png
Binary file added customize/razer/terminal_box_ne.png
Binary file added customize/razer/terminal_box_nw.png
Binary file added customize/razer/terminal_box_s.png
Binary file added customize/razer/terminal_box_se.png
Binary file added customize/razer/terminal_box_sw.png
Binary file added customize/razer/terminal_box_w.png
Binary file added customize/razer/terminus-12.pf2
Binary file not shown.
Binary file added customize/razer/terminus-14.pf2
Binary file not shown.
Binary file added customize/razer/terminus-16.pf2
Binary file not shown.
Binary file added customize/razer/terminus-18.pf2
Binary file not shown.
42 changes: 42 additions & 0 deletions customize/razer/theme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Main options
title-text: ""
desktop-image: "background.png"
desktop-color: "#000000"
terminal-font: "Terminus Regular 14"
terminal-box: "terminal_box_*.png"
terminal-left: "0"
terminal-top: "0"
terminal-width: "100%"
terminal-height: "100%"
terminal-border: "0"

# Boot menu
+ boot_menu {
left = 15%
top = 40%
width = 55%
height = 65%
item_font = "Ubuntu Regular 20"
item_color = "#cccccc"
selected_item_color = "#ffffff"
icon_width = 36
icon_height = 36
item_icon_space = 20
item_height = 40
item_padding = 2
item_spacing = 10
selected_item_pixmap_style = "select_*.png"
}


# Countdown label
# You can change the name of default starting OS here
+ label {
left = 15%
top = 31%
align = "center"
id = "__timeout__"
text = "Selected OS will start in %d seconds"
color = "#cccccc"
font = "Ubuntu Regular 17"
}
Binary file added customize/razer/ubuntu_regular_17.pf2
Binary file not shown.
Binary file added customize/razer/ubuntu_regular_20.pf2
Binary file not shown.
Binary file added preview/Razer.png

0 comments on commit fea7e9d

Please sign in to comment.