@ -7,66 +7,77 @@
```
## Flat Design themes for Grub2.
## Flat Design themes for Grub
**If you want to use Custom Wallpapers read the "Add_Custom_Wallpaper" file in the backgrounds folder**
## Install
## Installation:
Usage: `sudo ./install.sh [OPTIONS...]`
_if no option used the terminal user interface will be show up_
| OPTIONS: | description |
|:-------------------|:-------------|
| -b, --boot | Install grub theme into /boot/grub/themes |
| -v, --vimix | Vimix grub theme |
| -s, --stylish | Stylish grub theme |
| -t, --tela | Tela grub theme |
| -l, --slaze | Slaze grub theme |
| -w, --white | Install white color icon version |
| -u, --ultrawide | Install 2560x1080 background image - not available for slaze theme|
| Options: | Description: |
|:-----------------------|:-------------|
| -b, --boot | Install grub theme into `/boot/grub/themes` |
| -v, --vimix | Install Vimix grub theme |
| -s, --stylish | Install Stylish grub theme |
| -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 | Remove theme (must add theme name option) |
| -r, --remove [THEME] | Uninstall selected theme |
| -h, --help | Show this help |
For example:
_If no options are used, a user interface will show up instead_
1. Install Tela theme on 2k display device
### Examples:
- Install Tela theme on 2k display device:
- `sudo ./install.sh --tela --2k`
`sudo ./install.sh -t -2`
or
`sudo ./install.sh --tela --2k`
- Install Tela theme into /boot/grub/themes:
- `sudo ./install.sh -b -t`
2. Install Tela theme into /boot/grub/themes
- Uninstall Tela theme:
- `sudo ./install.sh -r -t`
`sudo ./install.sh -b -t`
## Issues / tweaks:
3. Remove Tela theme
### Correcting display resolution:
`sudo ./install.sh -r -t`
- On the grub screen, press `c` to enter the command line
- Enter `vbeinfo` or `videoinfo` to check available resolutions
- Open `/etc/default/grub` , and edit `GRUB_GFXMODE=[height]x[width]x32` to match your resolution
- Finally, run `grub-mkconfig -o /boot/grub/grub.cfg` to update your grub config
## Display resolution issues
### Setting a custom background:
#### Set the right resolution of your display
- Find the resolution of your display, and make sure your background matches the resolution
- (1920x1080 -> --1080p, 2560x1080 -> --ultrawide, 2560x1440 -> --2k, 3840x2160 -> --4k)
- Place your custom background inside the root of the project, and name it either background.jpg or custom-background.jpg
- Run the installer like normal, but with `--custom-background` , `--[YOUR_RESOLUTION]` and `--[THEME]`
- Make sure to replace `[YOUR_RESOLUTION]` with your resolution and `[THEME]` with the theme
On the grub screen, `press c` to get the commandline, and enter `vbeinfo` or `videoinfo` on EFI boot to check what resolutions you can use, then edit `/etc/default/grub` , add your resolution `GRUB_GFXMODE=****x****x32` into it, last you can run `grub-mkconfig -o /boot/grub/grub.cfg` to update your grub.cfg.
## Contributing:
- If you made changes to icons, or added a new one:
- Delete the existing icon, if there is one
- Run `cd assets; ./render-all.sh`
- 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
## Screenshots
## Screenshots:
### Vimix grub theme
### Vimix grub theme:


### Stylish grub theme
### Stylish grub theme:


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


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

