grub2-themes/README.md

85 lines
3.2 KiB
Markdown
Raw Normal View History

```
2019-06-08 04:49:28 +02:00
____ ____ _ _ ____ ____ _____ _ _ _____ __ __ _____ ____
/ ___| _ \| | | | __ )___ \ |_ _| | | | ____| \/ | ____/ ___|
| | _| |_) | | | | _ \ __) | | | | |_| | _| | |\/| | _| \___ \
| |_| | _ <| |_| | |_) / __/ | | | _ | |___| | | | |___ ___) |
2019-06-08 04:49:28 +02:00
\____|_| \_\\___/|____/_____| |_| |_| |_|_____|_| |_|_____|____/
2017-12-19 05:17:31 +01:00
2019-06-08 04:49:28 +02:00
```
2017-12-19 05:17:31 +01:00
## Flat Design themes for Grub
2017-12-19 05:17:31 +01:00
## Installation:
2019-06-08 04:49:28 +02:00
2020-01-25 16:13:33 +01:00
Usage: `sudo ./install.sh [OPTIONS...]`
2019-06-08 04:49:28 +02:00
| 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 [THEME] | Uninstall selected theme |
| -h, --help | Show this help |
_If no options are used, a user interface will show up instead_
### Examples:
- Install Tela theme on 2k display device:
- `sudo ./install.sh --tela --2k`
- Install Tela theme into /boot/grub/themes:
- `sudo ./install.sh -b -t`
- Uninstall Tela theme:
- `sudo ./install.sh -r -t`
## Issues / tweaks:
2020-01-25 16:13:33 +01:00
### Correcting display resolution:
- 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
2020-01-25 16:13:33 +01:00
### Setting a custom background:
2020-01-25 16:13:33 +01:00
- 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
- (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
## 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
2019-11-09 01:00:53 +01:00
## Screenshots:
2019-05-31 09:54:54 +02:00
### Vimix grub theme:
2019-05-31 09:54:54 +02:00
![Vimix](screenshots/grub-theme-vimix.jpg?raw=true)
2019-05-31 09:54:54 +02:00
### Stylish grub theme:
2019-05-31 09:54:54 +02:00
![Stylish](screenshots/grub-theme-stylish.jpg?raw=true)
2019-05-31 09:54:54 +02:00
### Tela grub theme:
2019-05-31 09:54:54 +02:00
![Tela](screenshots/grub-theme-tela.jpg?raw=true)
2019-05-31 09:54:54 +02:00
### Slaze grub theme:
2019-05-31 09:54:54 +02:00
![Slaze](screenshots/grub-theme-slaze.jpg?raw=true)