Add Razer theme

This commit is contained in:
Adison Cavani 2022-03-16 22:42:35 +01:00
parent 8fecea3e02
commit fea7e9d713
No known key found for this signature in database
GPG key ID: E823B50BB3E2472D
96 changed files with 100 additions and 24 deletions

View file

@ -1,4 +1,5 @@
# Distro Grub Themes # 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/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) [![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> [![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>
@ -6,23 +7,26 @@
A pack of GRUB2 themes for different Linux distribution and OS.<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. It aims to replace default Grub look, with nice and colorful theme.
## Get started ## 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) - [Themes](#themes)
* [Installation via Grub Customizer](#installation-via-grub-customizer) - [Supported distributions](#supported-distributions)
* [Manual Installation](#manual-installation) - [Supported vendors](#supported-vendors)
* [Install theme in Ventoy](#install-theme-in-ventoy) - [Preview theme](#preview-theme)
- [To-do list](#to-do-list)
- [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
- Arch Linux - Arch Linux
- Arco Linux - Arco Linux
- Artix Linux - Artix Linux
@ -51,6 +55,7 @@ It aims to replace default Grub look, with nice and colorful theme.
- Zorin OS - Zorin OS
## Supported vendors ## Supported vendors
- Acer - Acer
- Aorus - Aorus
- Asus - Asus
@ -60,10 +65,12 @@ It aims to replace default Grub look, with nice and colorful theme.
- HP - HP
- Lenovo - Lenovo
- MSI - MSI
- Razer
- System76 - System76
- Toshiba - Toshiba
## Preview theme ## Preview theme
### Distro themes ### Distro themes
<p float="left"> <p float="left">
@ -120,6 +127,7 @@ It aims to replace default Grub look, with nice and colorful theme.
</p> </p>
### Vendor themes ### Vendor themes
<p float="left"> <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/Acer.png" width="49%"/>
<img src="https://raw.githubusercontent.com/AdisonCavani/distro-grub-themes/master/preview/Aorus.png" width="49%"/> <img src="https://raw.githubusercontent.com/AdisonCavani/distro-grub-themes/master/preview/Aorus.png" width="49%"/>
@ -145,13 +153,16 @@ It aims to replace default Grub look, with nice and colorful theme.
</p> </p>
# Installation # Installation
## Installation via Grub Customizer ## Installation via Grub Customizer
In order to clone repository from Github you have to install `git` package <br> In order to clone repository from Github you have to install `git` package <br>
Alternatively you can download zip package - **Code -> Download ZIP** Alternatively you can download zip package - **Code -> Download ZIP**
#### Clone the repository #### 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 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 git clone https://github.com/AdisonCavani/distro-grub-themes.git
``` ```
@ -159,26 +170,31 @@ git clone https://github.com/AdisonCavani/distro-grub-themes.git
### Install Grub Customizer ### Install Grub Customizer
Apt Apt
``` ```
sudo add-apt-repository ppa:danielrichter2007/grub-customizer sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update sudo apt-get update
sudo apt-get install grub-customizer sudo apt-get install grub-customizer
``` ```
Pacman Pacman
``` ```
sudo pacman -S grub-customizer sudo pacman -S grub-customizer
``` ```
Eopkg Eopkg
``` ```
sudo eopkg install grub-customizer sudo eopkg install grub-customizer
``` ```
### Install pre-made theme with Grub Customizer ### Install pre-made theme with Grub Customizer
- Open Grub Customizer - Open Grub Customizer
- Go to **Appearance settings** tab - Go to **Appearance settings** tab
- Select *Custom resolution* and type in your resolution. E.g: 1920x1080 - 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` - 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 - Select your theme located in `/themes` directory
- Save changes - Save changes
@ -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 - With your file manager, inside edited theme directory, select all files and **create archive** with .tar or .tar.xz extension
- Open Grub Customizer - Open Grub Customizer
- Go to **Appearance settings** tab - Go to **Appearance settings** tab
- Enable *Custom resolution* checkbox and select your resolution or type it in manually. E.g: 1920x1080 - 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` - 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** - Change view settings from _Archive files_ to **All files**
- Select your archive - Select your archive
- Save changes - Save changes
## Manual Installation ## Manual Installation
In order to clone repository from Github you have to install `git` package <br> In order to clone repository from Github you have to install `git` package <br>
Alternatively you can download zip package - **Code -> Download ZIP** Alternatively you can download zip package - **Code -> Download ZIP**
#### Clone the repository #### 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 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 git clone https://github.com/AdisonCavani/distro-grub-themes.git
``` ```
#### Create themes directory #### Create themes directory
``` ```
sudo mkdir /boot/grub/themes sudo mkdir /boot/grub/themes
``` ```
#### Edit or use pre-made theme #### Edit or use pre-made theme
``` ```
cd distro-grub-themes/customize cd distro-grub-themes/customize
``` ```
#### Copy theme #### Copy theme
Theme must be unpacked (in folder) Theme must be unpacked (in folder)
``` ```
sudo cp -r ubuntu/ /boot/grub/themes sudo cp -r ubuntu/ /boot/grub/themes
``` ```
#### Edit Grub config #### Edit Grub config
You can use your favourite text editor You can use your favourite text editor
``` ```
sudo nano /etc/default/grub sudo nano /etc/default/grub
``` ```
Uncomment this line and set your resolution: Uncomment this line and set your resolution:
``` ```
GRUB_GFXMODE=1920x1080 GRUB_GFXMODE=1920x1080
``` ```
At the end of file add theme path: At the end of file add theme path:
``` ```
GRUB_THEME="/boot/grub/themes/ubuntu/theme.txt" GRUB_THEME="/boot/grub/themes/ubuntu/theme.txt"
``` ```
Replace "ubuntu" with selected theme<br> Replace "ubuntu" with selected theme<br>
Ctrl+O to save, Ctrl+X to exit Ctrl+O to save, Ctrl+X to exit
#### Update Grub config #### Update Grub config
You will need to tell Grub to update its configuration to include the new theme. You will need to tell Grub to update its configuration to include the new theme.
Ubuntu and Debian-based systems: Ubuntu and Debian-based systems:
@ -255,20 +283,26 @@ sudo grub-mkconfig -o /boot/grub/grub.cfg
``` ```
## Install theme in Ventoy ## 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", "file": "/ventoy/theme/blur/theme.txt",
``` ```
to to
``` ```
"file": "/ventoy/theme/Ventoy/theme.txt", "file": "/ventoy/theme/Ventoy/theme.txt",
``` ```
For more information head over to [Ventoy website](https://www.ventoy.net/en/plugin_theme.html) For more information head over to [Ventoy website](https://www.ventoy.net/en/plugin_theme.html)
# To-do list # To-do list
Feature | Status
------------ | ------------- | Feature | Status |
4K & 2K displays support | In the future | ------------------------- | ------------- |
Ultrawide display support | In the future | 4K & 2K displays support | In the future |
| Ultrawide display support | In the future |

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 818 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 977 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 865 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 865 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 467 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 525 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 772 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 777 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 699 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 683 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 792 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 847 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 979 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 454 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 735 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 864 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 777 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 958 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 795 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 691 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 693 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 893 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 369 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 802 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 636 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 582 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 799 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 976 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 952 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 963 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 963 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 952 B

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

42
customize/razer/theme.txt Normal file
View file

@ -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 not shown.

Binary file not shown.

BIN
preview/Razer.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB