Compare commits
153 Commits
2020-11-04
...
2024-08-19
| Author | SHA1 | Date | |
|---|---|---|---|
| 775e4f7487 | |||
| 8357e49262 | |||
| a69383892e | |||
| 896ca7f9c9 | |||
| c47af2ef5d | |||
| 0628270f03 | |||
| d9316d1acc | |||
| ce56cfb5c6 | |||
| b732fe3fad | |||
| a9dab5cce1 | |||
| 30be255898 | |||
| 8ddd471937 | |||
| 704cef3017 | |||
| 515ce57ffb | |||
| a634923206 | |||
| 8c9aade1fa | |||
| 0d7ea30481 | |||
| 179e2c21a1 | |||
| 3fa5e0f312 | |||
| eda1b86dd8 | |||
| d296515893 | |||
| 82c47cfa55 | |||
| d5c82f7213 | |||
| 42aa89641b | |||
| 9f0d2837ed | |||
| 000171da27 | |||
| 9843327eb6 | |||
| c8f6113801 | |||
| de378454b5 | |||
| 7da365a621 | |||
| f07021174e | |||
| f3fc65d3a2 | |||
| 960ac1a172 | |||
| 02ec0a888b | |||
| cd5fee4582 | |||
| 9c673d5a34 | |||
| 20c00af363 | |||
| 5a9e5b58a0 | |||
| 8d2f2e17b8 | |||
| c991e3a3a7 | |||
| bf840ebdb7 | |||
| 1358b497d9 | |||
| 8383f6b4f8 | |||
| 4c7bba04ac | |||
| 4deac71ab4 | |||
| 8cd0ea9b4a | |||
| c1f9aeaf83 | |||
| d0a481efa1 | |||
| 7c0d8eb784 | |||
| 8a5ebe97fa | |||
| bde73b88ed | |||
| bfedd16365 | |||
| 7e8a1ea758 | |||
| c106dfb9b5 | |||
| 7033bb66e5 | |||
| b0dca256c3 | |||
| ece050a022 | |||
| 530859b0b3 | |||
| 375b7d0f0a | |||
| 48338ec6a3 | |||
| e77cbfa662 | |||
| 967a302d8f | |||
| 7ab56dc587 | |||
| 8303aa2825 | |||
| b10a5fd4c8 | |||
| 8627f86ce5 | |||
| fd78958d50 | |||
| c6e2967f06 | |||
| 6b58676c4d | |||
| fa74d1b6af | |||
| 29dd80dd70 | |||
| 20a8f12488 | |||
| b5b4780418 | |||
| 3f5624833d | |||
| f4f3354233 | |||
| a4bff7bf91 | |||
| 86caf618c3 | |||
| 4f3b99cdf3 | |||
| 53f899da9c | |||
| 2fd6eb9b66 | |||
| 824064faa9 | |||
| 70ff68055b | |||
| e5b869f186 | |||
| 9e440c4bbc | |||
| 468bee78f5 | |||
| 9d244c9d07 | |||
| d27e1caf5f | |||
| 2824010b86 | |||
| f1e03b4949 | |||
| 41de75c50e | |||
| 9b66c890ba | |||
| fd0f0717e1 | |||
| 0f81ef2091 | |||
| 3f108a9037 | |||
| 1e27267eb4 | |||
| 3fb14ff13a | |||
| e1738a6706 | |||
| de33b1a2c3 | |||
| 748c4c4e93 | |||
| 8b0c63584b | |||
| 9527f1c408 | |||
| 0b16634d79 | |||
| 3f977c914f | |||
| 8851372401 | |||
| c6b7fdfc8f | |||
| 2b42974226 | |||
| a91e83254f | |||
| eedee9a25b | |||
| c6dcca2d8f | |||
| eac6a62755 | |||
| bc790bd10e | |||
| e6dcf151d4 | |||
| 2b12527007 | |||
| 9195a43e88 | |||
| 5a31c8d8e7 | |||
| ab5ba9cf78 | |||
| aa3e2b3c04 | |||
| 8f4becc1a5 | |||
| 1ccc78c7a0 | |||
| 6590280eb8 | |||
| ab2b5e3370 | |||
| cd5eaf3b84 | |||
| 420deda7c4 | |||
| 9b2a9f41b9 | |||
| f4680564a9 | |||
| ca5be0a5b6 | |||
| 13a6ff61e0 | |||
| 12e394e1c9 | |||
| a6bbcf35b3 | |||
| ae0fced1e7 | |||
| e01ebdcc62 | |||
| 72ad559a26 | |||
| 86fc01c958 | |||
| 41807fe458 | |||
| 30c1a9162b | |||
| 5871779b04 | |||
| 1007834d93 | |||
| 3a6af1d987 | |||
| 1adb17bfa1 | |||
| 2ed5b466ad | |||
| 3fe14fb9ee | |||
| ce80ce35df | |||
| 8f531d257d | |||
| 99c5be14a9 | |||
| 1074644978 | |||
| cf28e3cd29 | |||
| f3b5e2783e | |||
| d8dfb0f609 | |||
| bafd2bb250 | |||
| 8c6ef2aaf7 | |||
| aa8108f74b | |||
| f4b1a85ab0 | |||
| d005d49168 |
@@ -1,2 +0,0 @@
|
|||||||
git-v1.sh
|
|
||||||
setup-git-v1.sh
|
|
||||||
@@ -1,44 +1,89 @@
|
|||||||
```
|

|
||||||
____ ____ _ _ ____ ____ _____ _ _ _____ __ __ _____ ____
|
|
||||||
/ ___| _ \| | | | __ )___ \ |_ _| | | | ____| \/ | ____/ ___|
|
|
||||||
| | _| |_) | | | | _ \ __) | | | | |_| | _| | |\/| | _| \___ \
|
|
||||||
| |_| | _ <| |_| | |_) / __/ | | | _ | |___| | | | |___ ___) |
|
|
||||||
\____|_| \_\\___/|____/_____| |_| |_| |_|_____|_| |_|_____|____/
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
## Flat Design themes for Grub
|
|
||||||
|
|
||||||
## Installation:
|
## Installation:
|
||||||
|
|
||||||
Usage: `sudo ./install.sh [OPTIONS...]`
|
Usage: `sudo ./install.sh [OPTIONS...]`
|
||||||
|
|
||||||
| Options: | Description: |
|
```
|
||||||
|:-----------------------|:-------------|
|
-t, --theme theme variant(s) [tela|vimix|stylish|whitesur] (default is tela)
|
||||||
| -b, --boot | Install grub theme into `/boot/grub/themes` |
|
-i, --icon icon variant(s) [color|white|whitesur] (default is color)
|
||||||
| -v, --vimix | Install Vimix grub theme |
|
-s, --screen screen display variant(s) [1080p|2k|4k|ultrawide|ultrawide2k] (default is 1080p)
|
||||||
| -s, --stylish | Install Stylish grub theme |
|
-r, --remove Remove theme [tela|vimix|stylish|whitesur] (must add theme name option, default is tela)
|
||||||
| -t, --tela | Install Tela grub theme |
|
|
||||||
| -l, --slaze | Install Slaze grub theme |
|
|
||||||
| -w, --white | Install using black and white icons |
|
|
||||||
| -u, --ultrawide | Install 21:9 (2560x1080) background image - not available for slaze theme|
|
|
||||||
| -C, --custom-background| Use either background.jpg or custom-background.jpg as theme background instead
|
|
||||||
| -2, --2k | Install 2k (2560x1440) background image |
|
|
||||||
| -4, --4k | Install 4k (3840x2160) background image |
|
|
||||||
| -r, --remove [THEME] | Uninstall selected theme |
|
|
||||||
| -h, --help | Show this help |
|
|
||||||
|
|
||||||
_If no options are used, a user interface will show up instead_
|
-b, --boot install theme into '/boot/grub' or '/boot/grub2'
|
||||||
|
-g, --generate do not install but generate theme into chosen directory (must add your directory)
|
||||||
|
|
||||||
|
-h, --help Show this help
|
||||||
|
```
|
||||||
|
|
||||||
|
_If no options are used, a user interface `dialog` will show up instead_
|
||||||
|
|
||||||
### Examples:
|
### Examples:
|
||||||
- Install Tela theme on 2k display device:
|
- Install Tela theme on 2k display device:
|
||||||
- `sudo ./install.sh --tela --2k`
|
|
||||||
|
```sh
|
||||||
|
sudo ./install.sh -t tela -s 2k
|
||||||
|
```
|
||||||
|
|
||||||
- Install Tela theme into /boot/grub/themes:
|
- Install Tela theme into /boot/grub/themes:
|
||||||
- `sudo ./install.sh -b -t`
|
|
||||||
|
```sh
|
||||||
|
sudo ./install.sh -b -t tela
|
||||||
|
```
|
||||||
|
|
||||||
- Uninstall Tela theme:
|
- Uninstall Tela theme:
|
||||||
- `sudo ./install.sh -r -t`
|
|
||||||
|
```sh
|
||||||
|
sudo ./install.sh -r -t tela
|
||||||
|
```
|
||||||
|
|
||||||
|
## Installation with NixOS:
|
||||||
|
To use this theme with NixOS you will have to enable [flakes](https://wiki.nixos.org/wiki/flakes). Before you do this, please inform yourself if you really want to, because flakes are still an unstable feature.
|
||||||
|
|
||||||
|
First you will have to add grub2 to your `flake.nix` file as a new input.
|
||||||
|
```nix
|
||||||
|
# flake.nix
|
||||||
|
{
|
||||||
|
description = "NixOS configuration";
|
||||||
|
|
||||||
|
inputs = {
|
||||||
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
|
# Add grub2 themes to your inputs ...
|
||||||
|
grub2-themes = {
|
||||||
|
url = "github:vinceliuice/grub2-themes";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
outputs = inputs@{ nixpkgs, grub2-themes, ... }: {
|
||||||
|
nixosConfigurations = {
|
||||||
|
my_host = nixpkgs.lib.nixosSystem {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
specialArgs = { inherit inputs; };
|
||||||
|
|
||||||
|
# ... and then to your modules
|
||||||
|
modules = [
|
||||||
|
./configuration.nix
|
||||||
|
grub2-themes.nixosModules.default
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
After that, you can configure the theme as shown below. In this example it is inside the `configuration.nix` file but it can be any file you choose.
|
||||||
|
```nix
|
||||||
|
# configuration.nix
|
||||||
|
{ inputs, config, pkgs, lib, ... }:
|
||||||
|
{
|
||||||
|
boot.loader.grub = { ... };
|
||||||
|
boot.loader.grub2-theme = {
|
||||||
|
enable = true;
|
||||||
|
theme = "stylish";
|
||||||
|
footer = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## Issues / tweaks:
|
## Issues / tweaks:
|
||||||
|
|
||||||
@@ -53,9 +98,13 @@ _If no options are used, a user interface will show up instead_
|
|||||||
|
|
||||||
- Make sure you have `imagemagick` installed, or at least something that provides `convert`
|
- Make sure you have `imagemagick` installed, or at least something that provides `convert`
|
||||||
- Find the resolution of your display, and make sure your background matches the resolution
|
- Find the resolution of your display, and make sure your background matches the resolution
|
||||||
- (1920x1080 -> --1080p, 2560x1080 -> --ultrawide, 2560x1440 -> --2k, 3840x2160 -> --4k)
|
- 1920x1080 >> 1080p
|
||||||
- Place your custom background inside the root of the project, and name it either background.jpg or custom-background.jpg
|
- 2560x1080 >> ultrawide
|
||||||
- Run the installer like normal, but with `--custom-background`, `--[YOUR_RESOLUTION]` and `--[THEME]`
|
- 2560x1440 >> 2k
|
||||||
|
- 3440x1440 >> ultrawide2k
|
||||||
|
- 3840x2160 >> 4k
|
||||||
|
- Place your custom background inside the root of the project, and name it `background.jpg`
|
||||||
|
- Run the installer like normal, but with -s `[YOUR_RESOLUTION]` and -t `[THEME]` and -i `[ICON]`
|
||||||
- Make sure to replace `[YOUR_RESOLUTION]` with your resolution and `[THEME]` with the theme
|
- Make sure to replace `[YOUR_RESOLUTION]` with your resolution and `[THEME]` with the theme
|
||||||
|
|
||||||
## Contributing:
|
## Contributing:
|
||||||
@@ -65,20 +114,11 @@ _If no options are used, a user interface will show up instead_
|
|||||||
- Create a pull request from your branch or fork
|
- Create a pull request from your branch or fork
|
||||||
- If any issues occur, report then to the [issue](https://github.com/vinceliuice/grub2-themes/issues) page
|
- If any issues occur, report then to the [issue](https://github.com/vinceliuice/grub2-themes/issues) page
|
||||||
|
|
||||||
## Screenshots:
|
## Preview:
|
||||||
|

|
||||||
|
|
||||||
### Vimix grub theme:
|
## Documents
|
||||||
|
|
||||||

|
[Grub2 theme reference](https://wiki.rosalab.ru/en/index.php/Grub2_theme_/_reference)
|
||||||
|
|
||||||
### Stylish grub theme:
|
[Grub2 theme tutorial](https://wiki.rosalab.ru/en/index.php/Grub2_theme_tutorial)
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### Tela grub theme:
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### Slaze grub theme:
|
|
||||||
|
|
||||||

|
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 983 B |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 879 B |
|
Before Width: | Height: | Size: 967 B After Width: | Height: | Size: 527 B |
|
Before Width: | Height: | Size: 967 B After Width: | Height: | Size: 527 B |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 894 B |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 887 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 887 B |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 934 B |
|
After Width: | Height: | Size: 841 B |
|
After Width: | Height: | Size: 794 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1013 B After Width: | Height: | Size: 747 B |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 960 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 785 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 847 B |
|
Before Width: | Height: | Size: 922 B After Width: | Height: | Size: 647 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 695 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1011 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 817 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 820 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 863 B |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 919 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 965 B After Width: | Height: | Size: 729 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 969 B |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 915 B After Width: | Height: | Size: 778 B |
|
After Width: | Height: | Size: 854 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 950 B |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 951 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1008 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 826 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 971 B |
|
Before Width: | Height: | Size: 967 B After Width: | Height: | Size: 527 B |
|
After Width: | Height: | Size: 527 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 847 B |
|
Before Width: | Height: | Size: 993 B After Width: | Height: | Size: 869 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1023 B |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 829 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 840 B |
|
After Width: | Height: | Size: 957 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 758 B |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 764 B |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 920 B |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 930 B |
|
After Width: | Height: | Size: 568 B |
|
Before Width: | Height: | Size: 837 B After Width: | Height: | Size: 628 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 817 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 996 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1000 B After Width: | Height: | Size: 708 B |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1020 B After Width: | Height: | Size: 584 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 960 B |
|
After Width: | Height: | Size: 769 B |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 770 B |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 770 B |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1006 B |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 878 B |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.0 KiB |