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
[![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>
@ -6,23 +7,26 @@
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)
- [Supported distributions](#supported-distributions)
- [Supported vendors](#supported-vendors)
- [Preview theme](#preview-theme)
* [Distro themes](#distro-themes)
* [Vendor themes](#vendor-themes)
- [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)
- [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
@ -51,6 +55,7 @@ It aims to replace default Grub look, with nice and colorful theme.
- Zorin OS
## Supported vendors
- Acer
- Aorus
- Asus
@ -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">
@ -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%"/>
@ -145,13 +153,16 @@ 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
```
@ -159,26 +170,31 @@ 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
@ -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:
@ -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 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