/StarRailGrubThemes

A pack of GRUB2 themes for Honkai: Star Rail

Primary LanguageNixGNU General Public License v3.0GPL-3.0

Honkai: Star Rail Grub Themes

A pack of GRUB2 themes for Honkai: Star Rail

banner

Design File & Image Resources

Honkai: Star Rail Grub Theme Design File (Figma Design File)

StarRailRes (Image Resources)

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

sudo cp -r Guinaifen /usr/share/grub/themes
  1. Edit grub file
sudo vim /etc/default/grub
  1. Add the theme to the bottom of the text file
GRUB_THEME="/usr/share/grub/themes/Guinaifen/theme.txt"
  1. Update grub
sudo grub-mkconfig -o /boot/grub/grub.cfg
  1. Reboot the computer

For NixOS users

For NixOS users, it was prepered packages and NixOS module to install theme

With NixOS Module

  1. Added flake into your configuration
inputs.honkai-railway-grub-theme.url = "github:voidlhf/StarRailGrubThemes";
  1. Added honkai-railway-grub-theme as NixOS Module
# your configuration.nix
# ${system} - system architectuer e.g. x86_64-linux
imports = [ home-inputs.honkai-railway-grub-theme.nixosModules.${system}.default ];
  1. Set up theme in your configuration
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"; 
};

Without NixOS module

  1. Added flake into your configuration
inputs.honkai-railway-grub-theme.url = "github:voidlhf/StarRailGrubThemes";
  1. Added GRUB theme
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";
};
  1. Rebuild your system
  2. Reboot computer to see your theme :)

Preview

Rappa Lingsha Feixiao March7th-TheHunt Yunli Jiaoqiu Jade Aventurine Acheron BlackSwan Huohuo

More Preview Images

The labels in the bottom right corner of the preview image will not be displayed in the theme file.