commit b7f356be74ebb402c59d8f58e5154672cae18fc4 Author: mino29 <42552577+mino29@users.noreply.github.com> Date: Thu Nov 3 20:37:48 2022 +0800 initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..01b9fd9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.xcf diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..2095990 --- /dev/null +++ b/LICENSE @@ -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. diff --git a/README.md b/README.md new file mode 100644 index 0000000..15b9718 --- /dev/null +++ b/README.md @@ -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) diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 0000000..b6935f5 Binary files /dev/null and b/screenshot.png differ diff --git a/tokyo-night/background.png b/tokyo-night/background.png new file mode 100644 index 0000000..f2cfac7 Binary files /dev/null and b/tokyo-night/background.png differ diff --git a/tokyo-night/font.pf2 b/tokyo-night/font.pf2 new file mode 100644 index 0000000..b87a776 Binary files /dev/null and b/tokyo-night/font.pf2 differ diff --git a/tokyo-night/icons/antergos.png b/tokyo-night/icons/antergos.png new file mode 100644 index 0000000..3021a90 Binary files /dev/null and b/tokyo-night/icons/antergos.png differ diff --git a/tokyo-night/icons/arch.png b/tokyo-night/icons/arch.png new file mode 100644 index 0000000..65dfdc2 Binary files /dev/null and b/tokyo-night/icons/arch.png differ diff --git a/tokyo-night/icons/chakra.png b/tokyo-night/icons/chakra.png new file mode 100644 index 0000000..2971971 Binary files /dev/null and b/tokyo-night/icons/chakra.png differ diff --git a/tokyo-night/icons/debian.png b/tokyo-night/icons/debian.png new file mode 100644 index 0000000..bb3b8e8 Binary files /dev/null and b/tokyo-night/icons/debian.png differ diff --git a/tokyo-night/icons/deepin.png b/tokyo-night/icons/deepin.png new file mode 100644 index 0000000..5cb58c6 Binary files /dev/null and b/tokyo-night/icons/deepin.png differ diff --git a/tokyo-night/icons/elementary.png b/tokyo-night/icons/elementary.png new file mode 100644 index 0000000..3614d33 Binary files /dev/null and b/tokyo-night/icons/elementary.png differ diff --git a/tokyo-night/icons/fedora.png b/tokyo-night/icons/fedora.png new file mode 100644 index 0000000..25b8608 Binary files /dev/null and b/tokyo-night/icons/fedora.png differ diff --git a/tokyo-night/icons/gentoo.png b/tokyo-night/icons/gentoo.png new file mode 100644 index 0000000..319ee61 Binary files /dev/null and b/tokyo-night/icons/gentoo.png differ diff --git a/tokyo-night/icons/gnu-linux.png b/tokyo-night/icons/gnu-linux.png new file mode 100644 index 0000000..64b217e Binary files /dev/null and b/tokyo-night/icons/gnu-linux.png differ diff --git a/tokyo-night/icons/kali.png b/tokyo-night/icons/kali.png new file mode 100644 index 0000000..8297258 Binary files /dev/null and b/tokyo-night/icons/kali.png differ diff --git a/tokyo-night/icons/kaos.png b/tokyo-night/icons/kaos.png new file mode 100644 index 0000000..e2ef5da Binary files /dev/null and b/tokyo-night/icons/kaos.png differ diff --git a/tokyo-night/icons/korora.png b/tokyo-night/icons/korora.png new file mode 100644 index 0000000..dc0c748 Binary files /dev/null and b/tokyo-night/icons/korora.png differ diff --git a/tokyo-night/icons/kubuntu.png b/tokyo-night/icons/kubuntu.png new file mode 100644 index 0000000..7676241 Binary files /dev/null and b/tokyo-night/icons/kubuntu.png differ diff --git a/tokyo-night/icons/lfs.png b/tokyo-night/icons/lfs.png new file mode 100644 index 0000000..b5eac27 Binary files /dev/null and b/tokyo-night/icons/lfs.png differ diff --git a/tokyo-night/icons/linux-mint.png b/tokyo-night/icons/linux-mint.png new file mode 100644 index 0000000..c8a946f Binary files /dev/null and b/tokyo-night/icons/linux-mint.png differ diff --git a/tokyo-night/icons/lubuntu.png b/tokyo-night/icons/lubuntu.png new file mode 100644 index 0000000..cf8fa5f Binary files /dev/null and b/tokyo-night/icons/lubuntu.png differ diff --git a/tokyo-night/icons/mageia.png b/tokyo-night/icons/mageia.png new file mode 100644 index 0000000..a6dbfb6 Binary files /dev/null and b/tokyo-night/icons/mageia.png differ diff --git a/tokyo-night/icons/manjaro.png b/tokyo-night/icons/manjaro.png new file mode 100644 index 0000000..3150ee4 Binary files /dev/null and b/tokyo-night/icons/manjaro.png differ diff --git a/tokyo-night/icons/opensuse.png b/tokyo-night/icons/opensuse.png new file mode 100644 index 0000000..1064d84 Binary files /dev/null and b/tokyo-night/icons/opensuse.png differ diff --git a/tokyo-night/icons/pop-os.png b/tokyo-night/icons/pop-os.png new file mode 100644 index 0000000..1e9f5e9 Binary files /dev/null and b/tokyo-night/icons/pop-os.png differ diff --git a/tokyo-night/icons/pop.png b/tokyo-night/icons/pop.png new file mode 100644 index 0000000..1e9f5e9 Binary files /dev/null and b/tokyo-night/icons/pop.png differ diff --git a/tokyo-night/icons/siduction.png b/tokyo-night/icons/siduction.png new file mode 100644 index 0000000..774a17f Binary files /dev/null and b/tokyo-night/icons/siduction.png differ diff --git a/tokyo-night/icons/ubuntu.png b/tokyo-night/icons/ubuntu.png new file mode 100644 index 0000000..2452c14 Binary files /dev/null and b/tokyo-night/icons/ubuntu.png differ diff --git a/tokyo-night/icons/windows.png b/tokyo-night/icons/windows.png new file mode 100644 index 0000000..d059667 Binary files /dev/null and b/tokyo-night/icons/windows.png differ diff --git a/tokyo-night/icons/xubuntu.png b/tokyo-night/icons/xubuntu.png new file mode 100644 index 0000000..623ace0 Binary files /dev/null and b/tokyo-night/icons/xubuntu.png differ diff --git a/tokyo-night/icons/zorin.png b/tokyo-night/icons/zorin.png new file mode 100644 index 0000000..f7a7bc2 Binary files /dev/null and b/tokyo-night/icons/zorin.png differ diff --git a/tokyo-night/logo.png b/tokyo-night/logo.png new file mode 100644 index 0000000..6d37f45 Binary files /dev/null and b/tokyo-night/logo.png differ diff --git a/tokyo-night/select_c.png b/tokyo-night/select_c.png new file mode 100644 index 0000000..128bdf6 Binary files /dev/null and b/tokyo-night/select_c.png differ diff --git a/tokyo-night/select_e.png b/tokyo-night/select_e.png new file mode 100644 index 0000000..0f88ed4 Binary files /dev/null and b/tokyo-night/select_e.png differ diff --git a/tokyo-night/select_n.png b/tokyo-night/select_n.png new file mode 100644 index 0000000..fcc5e7c Binary files /dev/null and b/tokyo-night/select_n.png differ diff --git a/tokyo-night/select_ne.png b/tokyo-night/select_ne.png new file mode 100644 index 0000000..af86a3c Binary files /dev/null and b/tokyo-night/select_ne.png differ diff --git a/tokyo-night/select_nw.png b/tokyo-night/select_nw.png new file mode 100644 index 0000000..85f2246 Binary files /dev/null and b/tokyo-night/select_nw.png differ diff --git a/tokyo-night/select_s.png b/tokyo-night/select_s.png new file mode 100644 index 0000000..b61b893 Binary files /dev/null and b/tokyo-night/select_s.png differ diff --git a/tokyo-night/select_se.png b/tokyo-night/select_se.png new file mode 100644 index 0000000..7e14a7b Binary files /dev/null and b/tokyo-night/select_se.png differ diff --git a/tokyo-night/select_sw.png b/tokyo-night/select_sw.png new file mode 100644 index 0000000..eeec821 Binary files /dev/null and b/tokyo-night/select_sw.png differ diff --git a/tokyo-night/select_w.png b/tokyo-night/select_w.png new file mode 100644 index 0000000..55bb8e7 Binary files /dev/null and b/tokyo-night/select_w.png differ diff --git a/tokyo-night/theme.txt b/tokyo-night/theme.txt new file mode 100644 index 0000000..35c586c --- /dev/null +++ b/tokyo-night/theme.txt @@ -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" +}