70 Commits

Author SHA1 Message Date
vinceliuice
9c673d5a34 Update install.sh 2023-07-24 21:47:50 +08:00
Vince
20c00af363 Merge pull request #198 from anandusateeshNSUT/master
Fixed directory issues for fedora in the install.sh itself
2023-07-22 02:32:45 +08:00
anandusateesh
5a9e5b58a0 Fixed directory issues 2023-07-21 23:07:59 +05:30
vinceliuice
8d2f2e17b8 Update install.sh 2023-07-22 00:31:33 +08:00
vinceliuice
c991e3a3a7 Update install.sh 2023-07-21 23:15:11 +08:00
vinceliuice
bf840ebdb7 Update install.sh 2023-07-21 23:09:52 +08:00
vinceliuice
1358b497d9 Merge branch 'master' of github.com:vinceliuice/grub2-themes 2023-07-21 22:56:08 +08:00
vinceliuice
8383f6b4f8 Update install.sh 2023-07-21 22:51:22 +08:00
Vince
4c7bba04ac Merge pull request #196 from Maik93/master
improve grub.bak existance check
2023-07-11 00:25:51 +08:00
Michael Mugnai
4deac71ab4 improve grub.bak existance check 2023-07-09 22:09:07 +02:00
vinceliuice
8cd0ea9b4a Update install.sh 2023-04-15 23:05:00 +08:00
vinceliuice
c1f9aeaf83 Merge branch 'master' of github.com:vinceliuice/grub2-themes 2023-04-15 22:47:38 +08:00
vinceliuice
d0a481efa1 Update install.sh 2023-04-15 22:46:16 +08:00
vinceliuice
7c0d8eb784 Fixed #191 2023-01-18 12:21:58 +08:00
vinceliuice
8a5ebe97fa Merge branch 'master' of github.com:vinceliuice/grub2-themes 2023-01-05 14:33:13 +08:00
vinceliuice
bde73b88ed Fixed #172 2023-01-05 14:32:40 +08:00
Vince
bfedd16365 Merge pull request #187 from AnotherGroupChat/master
Update Nix install for theme.txt control + fix module reference
2023-01-05 14:14:21 +08:00
dylan madisetti
7e8a1ea758 Allow for more granular control of theme.txt and update depricated way of reffering to modules 2022-11-18 12:35:17 -05:00
Vince
c106dfb9b5 update 2022-11-12 08:42:45 +08:00
Vince
7033bb66e5 Update README.md 2022-10-30 23:49:02 +08:00
Vince
b0dca256c3 Update README.md 2022-10-30 23:48:26 +08:00
Vince
ece050a022 Update README.md 2022-10-30 23:47:50 +08:00
Vince
530859b0b3 Update README.md 2022-10-30 23:41:38 +08:00
Vince
375b7d0f0a Update README.md 2022-10-30 23:39:27 +08:00
Vince
48338ec6a3 Update install.sh 2022-10-30 23:36:05 +08:00
Vince
e77cbfa662 Fixed #181 2022-10-30 23:20:45 +08:00
Vince
967a302d8f update 2022-10-23 19:44:08 +08:00
Vince
7ab56dc587 Merge pull request #180 from hyttmi/master
Remove override of THEME_DIR
2022-10-23 19:37:13 +08:00
Mika Hyttinen
8303aa2825 Remove override of THEME_DIR 2022-10-23 08:46:09 +03:00
Vince
b10a5fd4c8 update 2022-10-15 23:57:32 +08:00
Vince
8627f86ce5 Merge pull request #178 from dotlogix/Feature/UbuntuDDE
Fix alignments of icons and add ubuntuDDE
2022-10-15 23:46:51 +08:00
Alexander Schill
fd78958d50 Fix alignments of icons and add ubuntuDDE 2022-10-15 16:31:52 +02:00
Vince
c6e2967f06 Merge pull request #175 from Rdkang/master
Added theme variant name to the preview image
2022-08-31 02:02:35 +08:00
Rdkang
6b58676c4d Added theme variant name to the preview image 2022-08-30 11:54:20 +01:00
Vince
fa74d1b6af Merge pull request #162 from thomassdk/FixNixOSSupport
Make splashImage option a `nullOr` type
2022-03-28 00:26:11 +08:00
thomassdk
29dd80dd70 Make splashImage option a nullOr type 2022-03-27 15:52:59 +00:00
Vince
20a8f12488 Merge pull request #161 from PatrickJosh/fix-fedora-34-and-later
Update install.sh to fix installation on Fedora 34 and later.
2022-03-26 21:20:58 +08:00
Joshua Noeske
b5b4780418 Update install.sh to fix installation on Fedora 34 and later. 2022-03-26 10:50:37 +01:00
vinceliuice
3f5624833d update 2022-03-19 10:55:49 +08:00
vinceliuice
f4f3354233 Update install.sh 2022-03-19 10:32:20 +08:00
Vince
a4bff7bf91 Merge pull request #158 from AnotherGroupChat/nixos
Add NixOS support
2022-03-19 10:07:53 +08:00
Dylan Madisetti
86caf618c3 Merge branch 'vinceliuice:master' into nixos 2022-03-18 12:53:01 -04:00
madisetti
4f3b99cdf3 Added footer and enable option 2022-02-21 11:59:04 -05:00
Vince
53f899da9c Merge pull request #155 from AnotherGroupChat/master
Added generate hook
2022-02-21 13:06:36 +08:00
madisetti
2fd6eb9b66 Needs to exit 0 2022-02-20 23:00:36 -05:00
madisetti
824064faa9 Move clear to remove busybox dependency 2022-02-20 22:46:11 -05:00
madisetti
70ff68055b Added flake for grub on NixOS 2022-02-20 22:41:50 -05:00
madisetti
e5b869f186 Added generate hook 2022-02-20 22:26:29 -05:00
Vince
9e440c4bbc Update install.sh 2022-01-22 18:29:10 +08:00
Vince
468bee78f5 Merge pull request #151 from The-Plottwist/master
Pull request for 149'th issue
2022-01-16 12:51:38 +08:00
The-Plottwist
9d244c9d07 Fixed issue #149
In the old functionality, the current config file was being replaced with a backup file (if it had presented).
However, we now back-up the config file and replace the active theme line instead.
2022-01-15 22:36:57 +03:00
The-Plottwist
d27e1caf5f Little fixes
Almost always ```read``` command should be used with ```-r``` option.
Added some clarity about globals.
2022-01-15 21:15:50 +03:00
The-Plottwist
2824010b86 Improved Readability
Added section headers and made some rearrangements to improve readability.
Removed discouraged '$?' usage.
Added install_program function.
2022-01-15 21:11:14 +03:00
Vince
f1e03b4949 update 2021-12-07 11:29:49 +08:00
Vince
41de75c50e Update README.md 2021-12-05 14:18:39 +08:00
Vince
9b66c890ba update 2021-12-05 14:16:33 +08:00
Vince
fd0f0717e1 Fixed #148 2021-12-05 14:12:59 +08:00
Vince
0f81ef2091 update 2021-11-04 16:49:02 +08:00
Vince
3f108a9037 Update README.md 2021-11-04 16:19:16 +08:00
Vince
1e27267eb4 update 2021-11-04 16:16:47 +08:00
Vince
3fb14ff13a Update README.md 2021-11-04 15:44:32 +08:00
Vince
e1738a6706 Update README.md 2021-11-04 15:43:43 +08:00
Vince
de33b1a2c3 Update install.sh
update
2021-10-22 09:18:31 +08:00
Vince
748c4c4e93 Update install.sh 2021-10-16 23:46:24 +08:00
Vince
8b0c63584b Update install.sh 2021-10-16 22:07:14 +08:00
Vince
9527f1c408 Fixed #143 2021-10-16 20:30:48 +08:00
Vince
0b16634d79 Merge pull request #141 from flyxi121/master
Fix file format for ultrawide background images
2021-09-29 23:05:51 +08:00
Flyxi
3f977c914f Fix file format for ultrawide background images 2021-09-29 14:12:56 +02:00
Vince
8851372401 Merge branch 'master' of github.com:vinceliuice/grub2-themes 2021-09-26 21:39:22 +08:00
Vince
c6b7fdfc8f Update install.sh 2021-09-26 21:38:42 +08:00
259 changed files with 7611 additions and 7393 deletions

View File

@@ -1,38 +1,41 @@
```
____ ____ _ _ ____ ____ _____ _ _ _____ __ __ _____ ____
/ ___| _ \| | | | __ )___ \ |_ _| | | | ____| \/ | ____/ ___|
| | _| |_) | | | | _ \ __) | | | | |_| | _| | |\/| | _| \___ \
| |_| | _ <| |_| | |_) / __/ | | | _ | |___| | | | |___ ___) |
\____|_| \_\\___/|____/_____| |_| |_| |_|_____|_| |_|_____|____/
```
## Flat Design themes for Grub
![banner](banner.png?raw=true)
## Installation:
Usage: `sudo ./install.sh [OPTIONS...]`
| Options: | Description: |
|:-----------------------|:-------------|
| -b, --boot | Install grub theme into `/boot/grub/themes` |
| -t, --theme | theme variant(s) [tela/vimix/stylish/slaze/whitesur] (default is tela)"
| -i, --icon | icon variant(s) [color/white/whitesur] (default is color)"
| -s, --screen | screen resolution variant(s) [1080p/2k/4k/ultrawide/ultrawide2k] (default is 1080p)"
| -r, --remove [THEME] | Uninstall selected theme |
| -h, --help | Show this help |
```
-t, --theme theme variant(s) [tela|vimix|stylish|whitesur] (default is tela)
-i, --icon icon variant(s) [color|white|whitesur] (default is color)
-s, --screen screen display variant(s) [1080p|2k|4k|ultrawide|ultrawide2k] (default is 1080p)
-r, --remove Remove theme [tela|vimix|stylish|whitesur] (must add theme name option, default is tela)
-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:
- Install Tela theme on 2k display device:
- `sudo ./install.sh -t tela -s 2k`
```sh
sudo ./install.sh -t tela -s 2k
```
- Install Tela theme into /boot/grub/themes:
- `sudo ./install.sh -b -t tela`
```sh
sudo ./install.sh -b -t tela
```
- Uninstall Tela theme:
- `sudo ./install.sh -r -t tela`
```sh
sudo ./install.sh -r -t tela
```
## Issues / tweaks:
@@ -47,7 +50,11 @@ _If no options are used, a user interface `dialog` will show up instead_
- 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, 3440x1440 -> --ultrawide2k, 3840x2160 -> --4k)
- 1920x1080 >> 1080p
- 2560x1080 >> ultrawide
- 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
@@ -59,24 +66,12 @@ _If no options are used, a user interface `dialog` will show up instead_
- 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:
### Vimix grub theme:
![Vimix](screenshots/grub-theme-vimix.jpg?raw=true)
### Stylish grub theme:
![Stylish](screenshots/grub-theme-stylish.jpg?raw=true)
### Tela grub theme:
![Tela](screenshots/grub-theme-tela.jpg?raw=true)
### Slaze grub theme:
![Slaze](screenshots/grub-theme-slaze.jpg?raw=true)
## Preview:
![preview](preview.png?raw=true)
## Documents
http://wiki.rosalab.ru/en/index.php/Grub2_theme_/_reference
http://wiki.rosalab.ru/en/index.php/Grub2_theme_tutorial
[Grub2 theme reference](http://wiki.rosalab.ru/en/index.php/Grub2_theme_/_reference)
[Grub2 theme tutorial](http://wiki.rosalab.ru/en/index.php/Grub2_theme_tutorial)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 661 B

After

Width:  |  Height:  |  Size: 527 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 661 B

After

Width:  |  Height:  |  Size: 527 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 794 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 661 B

After

Width:  |  Height:  |  Size: 527 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 661 B

After

Width:  |  Height:  |  Size: 527 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1023 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 889 B

After

Width:  |  Height:  |  Size: 770 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 889 B

After

Width:  |  Height:  |  Size: 770 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 889 B

After

Width:  |  Height:  |  Size: 770 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 889 B

After

Width:  |  Height:  |  Size: 770 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1005 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1005 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1005 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1005 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 168 B

After

Width:  |  Height:  |  Size: 112 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 168 B

After

Width:  |  Height:  |  Size: 112 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 414 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 612 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 797 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 168 B

After

Width:  |  Height:  |  Size: 112 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 168 B

After

Width:  |  Height:  |  Size: 112 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 608 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 641 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 227 B

After

Width:  |  Height:  |  Size: 156 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 227 B

After

Width:  |  Height:  |  Size: 156 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 599 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 913 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 227 B

After

Width:  |  Height:  |  Size: 156 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 227 B

After

Width:  |  Height:  |  Size: 156 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 916 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 B

After

Width:  |  Height:  |  Size: 151 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 B

After

Width:  |  Height:  |  Size: 151 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 819 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 B

After

Width:  |  Height:  |  Size: 151 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 B

After

Width:  |  Height:  |  Size: 151 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 940 B

After

Width:  |  Height:  |  Size: 912 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 909 B

After

Width:  |  Height:  |  Size: 875 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 586 B

After

Width:  |  Height:  |  Size: 587 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 586 B

After

Width:  |  Height:  |  Size: 587 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 958 B

After

Width:  |  Height:  |  Size: 944 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 825 B

After

Width:  |  Height:  |  Size: 766 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 825 B

After

Width:  |  Height:  |  Size: 766 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 843 B

After

Width:  |  Height:  |  Size: 823 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 840 B

After

Width:  |  Height:  |  Size: 825 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 679 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 994 B

After

Width:  |  Height:  |  Size: 958 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1004 B

After

Width:  |  Height:  |  Size: 969 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 815 B

After

Width:  |  Height:  |  Size: 755 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1004 B

After

Width:  |  Height:  |  Size: 960 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 756 B

After

Width:  |  Height:  |  Size: 738 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 950 B

After

Width:  |  Height:  |  Size: 895 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 960 B

After

Width:  |  Height:  |  Size: 920 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 874 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 983 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 855 B

After

Width:  |  Height:  |  Size: 783 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1007 B

After

Width:  |  Height:  |  Size: 1001 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 586 B

After

Width:  |  Height:  |  Size: 587 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 586 B

After

Width:  |  Height:  |  Size: 587 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 905 B

After

Width:  |  Height:  |  Size: 846 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Some files were not shown because too many files have changed in this diff Show More