0
0
Fork 0
mirror of https://github.com/mino29/tokyo-night-grub.git synced 2024-10-17 20:58:17 -04:00

initial commit

This commit is contained in:
mino29 2022-11-03 20:37:48 +08:00
commit b7f356be74
43 changed files with 132 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
*.xcf

21
LICENSE Normal file
View file

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2020 Dracula Theme
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

64
README.md Normal file
View file

@ -0,0 +1,64 @@
# Tokyo-Night for [GRUB](https://gnu.org/software/grub/)
> A dark theme for [GRUB](https://gnu.org/software/grub/).
Basically just minor tweaks of Dracula grub that I made to go along with my
[arch i3 rice](https://github.com/mino29/arch-i3).
![Screenshot](./screenshot.png)
This should fit all kinds of resolustion of screens, at least my 1080p screen
worked just fine.
## Install
Steps:
1. clone this repo or download the .zip
```bash
git clone https://github.com/mino29/tokyo-night-grub.git
```
2. copy the whole tokyo-night directory grub themes
```bash
sudo cp -r tokyo-night /boot/grub/themes
```
3. edit grub file
```
sudo vim /etc/default/grub
```
change `#GRUB_THEME=` to
`GRUB_THEME = "/boot/grub/themes/dracula/theme.txt"`
4.use magic and reboot
run this command
```
sudo grub-mkconfig -o /boot/grub/grub.cfg
```
## Potential problems and solutions
Oh oh, can't see grub menu or boot into arch linux?
Grub on Arch Linux can be a pain to deal with recently.
After I change the theme and reboot and cannot boot into my Arch Linux, had to
do a "chroot", but worry not, here's what you need:
- USB drive with arch iso
- 15 minutes of free time
- Stable internet connection
- this on-point [article]()
## Credit
[Cute Ghost profile]()
[Dracula Grub]()
## License
[MIT License](./LICENSE)

BIN
screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
tokyo-night/background.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

BIN
tokyo-night/font.pf2 Normal file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 709 B

BIN
tokyo-night/icons/arch.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 567 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 723 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 607 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 741 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 787 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 528 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 683 B

BIN
tokyo-night/icons/kali.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 518 B

BIN
tokyo-night/icons/kaos.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 620 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 623 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 698 B

BIN
tokyo-night/icons/lfs.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 416 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 708 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 700 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 553 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 345 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 657 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 658 B

BIN
tokyo-night/icons/pop.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 658 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 623 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 418 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 695 B

BIN
tokyo-night/icons/zorin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
tokyo-night/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
tokyo-night/select_c.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

BIN
tokyo-night/select_e.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

BIN
tokyo-night/select_n.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

BIN
tokyo-night/select_ne.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
tokyo-night/select_nw.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
tokyo-night/select_s.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

BIN
tokyo-night/select_se.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5 KiB

BIN
tokyo-night/select_sw.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5 KiB

BIN
tokyo-night/select_w.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

46
tokyo-night/theme.txt Normal file
View file

@ -0,0 +1,46 @@
# GRUB2 gfxmenu pop theme, based on Linux Vimix theme
# Designed for any resolution
# Global Property
title-text: ""
desktop-image: "background.png"
desktop-image-scale-method: "stretch"
desktop-color: "#1A1B26"
terminal-font: "Unifont Regular 16"
terminal-left: "0"
terminal-top: "0"
terminal-width: "100%"
terminal-height: "100%"
terminal-border: "0"
# Logo image
+ image {
left = 50%-50
top = 50%-50
file = "logo.png"
}
# Show the boot menu
+ boot_menu {
left = 50%-240
top = 60%
width = 480
height = 30%
item_font = "Unifont Regular 16"
item_color = "#FBFBFB"
selected_item_color = "#FBFBFB"
item_height = 32
item_spacing = 24
selected_item_pixmap_style = "select_*.png"
}
# Show a countdown message using the label component
+ label {
top = 82%
left = 35%
width = 30%
align = "center"
id = "__timeout__"
text = "Booting in %d seconds"
color = "#FBFBFB"
}