2023-08-30 08:40:52 +08:00
# Honkai: Star Rail Grub Themes
A pack of GRUB2 themes for Honkai: Star Rail
2023-11-17 23:25:38 +08:00
![banner ](/assets/images/icon.png?raw=true )
2023-08-30 08:40:52 +08:00
2024-03-26 16:08:47 +08:00
## Design File & Image Resources
[Honkai: Star Rail Grub Theme Design File (Figma Design File) ](https://www.figma.com/community/file/1354356022337074054/honkai-star-rail-grub-theme-design-file )
[StarRailRes (Image Resources) ](https://github.com/Mar-7th/StarRailRes )
2024-03-26 15:56:00 +08:00
2023-08-30 08:40:52 +08:00
## Theme Description
> Access and download the required theme files from the **'themes'** folder within this project.The theme files with **'cn'** in the filename are intended for the **Chinese version**. We recommend that Chinese users utilize these versions.
## Installation
Using the `Guinaifen` theme as an example
1. Download & Unzip
2. Copy `Guinaifen` into grub themes directory
```shell
sudo cp -r Guinaifen /usr/share/grub/themes
```
3. Edit `grub` file
```shell
sudo vim /etc/default/grub
```
4. Add the theme to the bottom of the text file
```shell
GRUB_THEME="/usr/share/grub/themes/Guinaifen/theme.txt"
```
5. Update grub
2024-04-15 13:49:42 +08:00
```shell
2023-08-30 08:40:52 +08:00
sudo grub-mkconfig -o /boot/grub/grub.cfg
```
6. Reboot the computer
2024-04-14 18:39:55 +08:00
### For NixOS users
2024-04-14 19:24:28 +08:00
For NixOS users, it was prepered packages and NixOS module to install theme
#### With NixOS Module
2024-04-14 18:39:55 +08:00
1. Added flake into your configuration
```nix
inputs.honkai-railway-grub-theme.url = "github:voidlhf/StarRailGrubThemes";
```
2024-04-14 19:07:08 +08:00
2. Added honkai-railway-grub-theme as NixOS Module
```nix
# your configuration.nix
# ${system} - system architectuer e.g. x86_64-linux
imports = [ home-inputs.honkai-railway-grub-theme.nixosModules.${system}.default ];
```
3. Set up theme in your configuration
2024-04-14 18:39:55 +08:00
```nix
honkai-railway-grub-theme = {
enable = true;
# Remember
# Theme name should have the same name as in assets/themes directory e.g. Dr.Ratio_cn is correct
# 'theme' field is optional. Default theme is Acheron.
theme = "RuanMei";
};
```
2024-04-14 19:24:28 +08:00
#### Without NixOS module
1. Added flake into your configuration
```nix
inputs.honkai-railway-grub-theme.url = "github:voidlhf/StarRailGrubThemes";
```
2024-04-14 19:25:06 +08:00
2. Added GRUB theme
2024-04-14 19:24:28 +08:00
```nix
boot.loader.grub = rec {
# Remember. Each nix package from this repo have another name.
# Packages name have 2 rules:
# - lower case names e.g. RuaMei -> ruamei
# - each '.' must be replaced by "_" e.g Dr.Ratio -> dr_ratio
theme = inputs.inputs.honkai-railway-grub-theme.packages.${system}.< your_theme_name > -grub-theme;
splashImage = "${theme}/background.png";
};
```
2024-04-14 18:39:55 +08:00
2024-04-14 19:25:06 +08:00
3. Rebuild your system
4. Reboot computer to see your theme :)
2024-04-14 18:39:55 +08:00
2023-08-30 08:40:52 +08:00
## Preview
2024-12-05 15:45:00 +08:00
![Sunday ](/preview/Sunday.png )
![Fugue ](/preview/Fugue.png )
2024-10-24 14:05:31 +08:00
![Rappa ](/preview/Rappa.png )
2024-09-10 10:16:51 +08:00
![Lingsha ](/preview/Lingsha.png )
![Feixiao ](/preview/Feixiao.png )
2024-08-02 21:30:51 +08:00
![March7th-TheHunt ](/preview/March7th-TheHunt.png )
![Yunli ](/preview/Yunli.png )
![Jiaoqiu ](/preview/Jiaoqiu.png )
2024-07-10 11:54:48 +08:00
![Jade ](/preview/Jade.png )
2023-08-30 08:40:52 +08:00
2023-11-17 22:07:31 +08:00
[More Preview Images ](https://github.com/voidlhf/StarRailGrubThemes/tree/master/preview )
2024-10-24 14:05:31 +08:00
The labels in the bottom right corner of the preview image will not be displayed in the theme file.