diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..3972aaa --- /dev/null +++ b/.editorconfig @@ -0,0 +1,35 @@ +# EditorConfig is awesome: https://EditorConfig.org +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + +[*.bat] +charset = latin1 +end_of_line = crlf + +[*.{css,sass,scss}] +indent_size = 2 + +[*.js] +indent_size = 2 + +[*.json] +indent_size = 4 + +[*.md] +indent_size = 2 +trim_trailing_whitespace = false + +[*.{sh,csh,tcsh,zsh,bash,fish}] +indent_size = 4 + +[*.{yml,yaml,toml,neon}] +indent_size = 2 + +[Makefile] +indent_style = tab diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..bb8c19c --- /dev/null +++ b/.gitattributes @@ -0,0 +1,6 @@ +.editorconfig export-ignore +.gitattributes export-ignore +.github/ export-ignore +.gitignore export-ignore +.travis.yml export-ignore +docs/ export-ignore diff --git a/LICENSE b/LICENSE index 68280df..2aa558c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2017 Andrei Shevchuk +Copyright (c) 2020 Jack Cherng (@jfcherng) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 16c8d90..58d4ed9 100644 --- a/README.md +++ b/README.md @@ -1,27 +1,14 @@ -## Poly dark GRUB theme +# Ventoy theme: Poly Dark -Supported languages: Chinese (simplified), English, French, German, Italian, Norwegian, Portuguese, Russian, Spanish, Ukrainian +The [Poly Dark](https://github.com/shvchk/poly-dark) GRUB theme modified +to be used for my [Ventoy](https://github.com/ventoy/Ventoy) setup. -![](https://i.imgur.com/OHGyR2N.gif) +## Screenshots -Screenshot is intentionally low res to fit GitHub UI. See also: [1280×720](https://i.imgur.com/iKtkLr4.png), [1920×1080](https://i.imgur.com/faGEmp5.png) +![Screenshot_init](https://raw.githubusercontent.com/jfcherng/ventoy-theme-poly-dark/master/docs/screenshot_init.png) ---- +## Installation -### Installation / update - -1. **Secure way:** - - Download install script: - `wget -P /tmp https://github.com/shvchk/poly-dark/raw/master/install.sh` - - Review install script at `/tmp/install.sh` - - Run it: `bash /tmp/install.sh` - -2. **Easier, less secure way** — just download and run install script: - `wget -O - https://github.com/shvchk/poly-dark/raw/master/install.sh | bash` - ---- - -### See also - -- [Poly light GRUB theme](https://github.com/shvchk/poly-light) -- [Fallout GRUB theme](https://github.com/shvchk/fallout-grub-theme) +- See https://www.ventoy.net/en/plugin_theme.html +- The `/disk_root/` in this repository means the root of your USB disk. +- If you only need the theme, just take the `/disk_root/ventoy/theme/poly-dark/`. diff --git a/disk_root/_ISO/put_ISO_files_here.txt b/disk_root/_ISO/put_ISO_files_here.txt new file mode 100644 index 0000000..e69de29 diff --git a/disk_root/ventoy/theme/poly-dark/LICENSE b/disk_root/ventoy/theme/poly-dark/LICENSE new file mode 100644 index 0000000..be86159 --- /dev/null +++ b/disk_root/ventoy/theme/poly-dark/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2020 Jack Cherng (@jfcherng) +Copyright (c) 2017 Andrei Shevchuk + +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/background.png b/disk_root/ventoy/theme/poly-dark/background.png similarity index 100% rename from background.png rename to disk_root/ventoy/theme/poly-dark/background.png diff --git a/disk_root/ventoy/theme/poly-dark/icons/acronis.png b/disk_root/ventoy/theme/poly-dark/icons/acronis.png new file mode 100644 index 0000000..cc3ed05 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/acronis.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/antergos.png b/disk_root/ventoy/theme/poly-dark/icons/antergos.png new file mode 100644 index 0000000..6cd95fd Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/antergos.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/archlinux.png b/disk_root/ventoy/theme/poly-dark/icons/archlinux.png new file mode 100644 index 0000000..2b8cb49 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/archlinux.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/boot_disk.png b/disk_root/ventoy/theme/poly-dark/icons/boot_disk.png new file mode 100644 index 0000000..a683e06 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/boot_disk.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/boot_g4d.png b/disk_root/ventoy/theme/poly-dark/icons/boot_g4d.png new file mode 100644 index 0000000..b965b95 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/boot_g4d.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/boot_uefi.png b/disk_root/ventoy/theme/poly-dark/icons/boot_uefi.png new file mode 100644 index 0000000..cb01489 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/boot_uefi.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/boot_windows.png b/disk_root/ventoy/theme/poly-dark/icons/boot_windows.png new file mode 100644 index 0000000..ed0a1da Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/boot_windows.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/centos.png b/disk_root/ventoy/theme/poly-dark/icons/centos.png new file mode 100644 index 0000000..c05baae Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/centos.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/chakra.png b/disk_root/ventoy/theme/poly-dark/icons/chakra.png new file mode 100644 index 0000000..b3cc3a5 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/chakra.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/clonezilla.png b/disk_root/ventoy/theme/poly-dark/icons/clonezilla.png new file mode 100644 index 0000000..c06cb5a Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/clonezilla.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/debian.png b/disk_root/ventoy/theme/poly-dark/icons/debian.png new file mode 100644 index 0000000..fe48f2b Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/debian.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/deepin.png b/disk_root/ventoy/theme/poly-dark/icons/deepin.png new file mode 100644 index 0000000..1d61173 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/deepin.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/elementaryos.png b/disk_root/ventoy/theme/poly-dark/icons/elementaryos.png new file mode 100644 index 0000000..f22ba5f Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/elementaryos.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/endeavouros.png b/disk_root/ventoy/theme/poly-dark/icons/endeavouros.png new file mode 100644 index 0000000..1843042 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/endeavouros.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/fedora.png b/disk_root/ventoy/theme/poly-dark/icons/fedora.png new file mode 100644 index 0000000..716f2fe Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/fedora.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/gentoo.png b/disk_root/ventoy/theme/poly-dark/icons/gentoo.png new file mode 100644 index 0000000..91363b6 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/gentoo.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/kali.png b/disk_root/ventoy/theme/poly-dark/icons/kali.png new file mode 100644 index 0000000..9547f9b Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/kali.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/kaos.png b/disk_root/ventoy/theme/poly-dark/icons/kaos.png new file mode 100644 index 0000000..d418553 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/kaos.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/korora.png b/disk_root/ventoy/theme/poly-dark/icons/korora.png new file mode 100644 index 0000000..d42115b Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/korora.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/kubuntu.png b/disk_root/ventoy/theme/poly-dark/icons/kubuntu.png new file mode 100644 index 0000000..99ba369 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/kubuntu.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/linux.png b/disk_root/ventoy/theme/poly-dark/icons/linux.png new file mode 100644 index 0000000..612ed40 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/linux.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/linuxmint.png b/disk_root/ventoy/theme/poly-dark/icons/linuxmint.png new file mode 100644 index 0000000..52dd943 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/linuxmint.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/lubuntu.png b/disk_root/ventoy/theme/poly-dark/icons/lubuntu.png new file mode 100644 index 0000000..3ec672e Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/lubuntu.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/macosx.png b/disk_root/ventoy/theme/poly-dark/icons/macosx.png new file mode 100644 index 0000000..a7a075c Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/macosx.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/mageia.png b/disk_root/ventoy/theme/poly-dark/icons/mageia.png new file mode 100644 index 0000000..8d4830f Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/mageia.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/manjaro.png b/disk_root/ventoy/theme/poly-dark/icons/manjaro.png new file mode 100644 index 0000000..85fd87a Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/manjaro.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/opensuse.png b/disk_root/ventoy/theme/poly-dark/icons/opensuse.png new file mode 100644 index 0000000..c468549 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/opensuse.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/power_halt.png b/disk_root/ventoy/theme/poly-dark/icons/power_halt.png new file mode 100644 index 0000000..788cfb9 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/power_halt.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/power_reboot.png b/disk_root/ventoy/theme/poly-dark/icons/power_reboot.png new file mode 100644 index 0000000..8fcd545 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/power_reboot.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/siduction.png b/disk_root/ventoy/theme/poly-dark/icons/siduction.png new file mode 100644 index 0000000..4478cc6 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/siduction.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/solus.png b/disk_root/ventoy/theme/poly-dark/icons/solus.png new file mode 100644 index 0000000..fb72104 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/solus.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/steamos.png b/disk_root/ventoy/theme/poly-dark/icons/steamos.png new file mode 100644 index 0000000..00f5484 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/steamos.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/ubuntu.png b/disk_root/ventoy/theme/poly-dark/icons/ubuntu.png new file mode 100644 index 0000000..a1af9b3 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/ubuntu.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/utility.png b/disk_root/ventoy/theme/poly-dark/icons/utility.png new file mode 100644 index 0000000..995ea24 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/utility.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/void.png b/disk_root/ventoy/theme/poly-dark/icons/void.png new file mode 100644 index 0000000..a7b1f91 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/void.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/vtoydir.png b/disk_root/ventoy/theme/poly-dark/icons/vtoydir.png new file mode 100644 index 0000000..d8c9729 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/vtoydir.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/vtoyefi.png b/disk_root/ventoy/theme/poly-dark/icons/vtoyefi.png new file mode 100644 index 0000000..cb01489 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/vtoyefi.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/vtoyiso.png b/disk_root/ventoy/theme/poly-dark/icons/vtoyiso.png new file mode 100644 index 0000000..2bda829 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/vtoyiso.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/vtoyret.png b/disk_root/ventoy/theme/poly-dark/icons/vtoyret.png new file mode 100644 index 0000000..ec0d471 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/vtoyret.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/vtoywim.png b/disk_root/ventoy/theme/poly-dark/icons/vtoywim.png new file mode 100644 index 0000000..9b0eb11 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/vtoywim.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/win_pe.png b/disk_root/ventoy/theme/poly-dark/icons/win_pe.png new file mode 100644 index 0000000..7217cb1 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/win_pe.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/windows.png b/disk_root/ventoy/theme/poly-dark/icons/windows.png new file mode 100644 index 0000000..3dbc11a Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/windows.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/windows_10.png b/disk_root/ventoy/theme/poly-dark/icons/windows_10.png new file mode 100644 index 0000000..9d4f1bf Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/windows_10.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/windows_7.png b/disk_root/ventoy/theme/poly-dark/icons/windows_7.png new file mode 100644 index 0000000..8ad1143 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/windows_7.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/windows_8.png b/disk_root/ventoy/theme/poly-dark/icons/windows_8.png new file mode 100644 index 0000000..883ed1b Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/windows_8.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/windows_xp.png b/disk_root/ventoy/theme/poly-dark/icons/windows_xp.png new file mode 100644 index 0000000..f34b821 Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/windows_xp.png differ diff --git a/disk_root/ventoy/theme/poly-dark/icons/xubuntu.png b/disk_root/ventoy/theme/poly-dark/icons/xubuntu.png new file mode 100644 index 0000000..e7a0e5c Binary files /dev/null and b/disk_root/ventoy/theme/poly-dark/icons/xubuntu.png differ diff --git a/item_c.png b/disk_root/ventoy/theme/poly-dark/item_c.png similarity index 100% rename from item_c.png rename to disk_root/ventoy/theme/poly-dark/item_c.png diff --git a/selected_item_c.png b/disk_root/ventoy/theme/poly-dark/selected_item_c.png similarity index 56% rename from selected_item_c.png rename to disk_root/ventoy/theme/poly-dark/selected_item_c.png index df9a27d..3590bcd 100644 Binary files a/selected_item_c.png and b/disk_root/ventoy/theme/poly-dark/selected_item_c.png differ diff --git a/terminal_box_c.png b/disk_root/ventoy/theme/poly-dark/terminal_box_c.png similarity index 100% rename from terminal_box_c.png rename to disk_root/ventoy/theme/poly-dark/terminal_box_c.png diff --git a/disk_root/ventoy/theme/poly-dark/theme.txt b/disk_root/ventoy/theme/poly-dark/theme.txt new file mode 100644 index 0000000..e2e63d6 --- /dev/null +++ b/disk_root/ventoy/theme/poly-dark/theme.txt @@ -0,0 +1,69 @@ +# Global properties +title-text: "Ventoy theme: Poly Dark (@jfcherng, @shvchk)" +title-font: "Unifont Regular 22" +title-color: "#FFFFFF" +desktop-image: "background.png" +desktop-color: "#FFFFFF" +terminal-font: "Unifont Regular 18" +terminal-box: "terminal_box_*.png" +terminal-left: "0" +terminal-top: "0" +terminal-width: "100%" +terminal-height: "100%" +terminal-border: "0" + +# Boot menu ++ boot_menu { + left = 15% + top = 20% + width = 70% + height = 50% + item_font = "Unifont Regular 18" + item_color = "#777777" + selected_item_color = "#999999" + item_height = 40 + item_spacing = 4 + item_pixmap_style = "item_*.png" + item_icon_space = "16" + selected_item_pixmap_style = "selected_item_*.png" +} + +# Countdown message ++ label { + left = 0 + top = 80% + width = 100% + align = "center" + id = "__timeout__" + text = "Booting in %d seconds" + color = "#777777" + font = "Unifont Regular 18" +} + +# Grub2 messages ++ hbox { + top = 85% + left = 20% + + label {text = "Enter: " font = "Unifont Regular 18" color = "#00EEEE" align = "left"} + + label {text = "Boot Selection " font = "Unifont Regular 18" color = "#cccccc" align = "left"} + + label {text = "E: " font = "Unifont Regular 18" color = "#00EEEE" align = "left"} + + label {text = "Edit Selection " font = "Unifont Regular 18" color = "#cccccc" align = "left"} + + label {text = "C: " font = "Unifont Regular 18" color = "#00EEEE" align = "left"} + + label {text = "GRUB Commandline" font = "Unifont Regular 18" color = "#cccccc" align = "left"} +} + +# Ventoy messages ++ hbox { + top = 85%+24 + left = 20% + + label {text = "F1: " font = "Unifont Regular 18" color = "#00EEEE" align = "left"} + + label {text = "Mem Disk " font = "Unifont Regular 18" color = "#cccccc" align = "left"} + + label {text = "F2: " font = "Unifont Regular 18" color = "#00EEEE" align = "left"} + + label {text = "Power " font = "Unifont Regular 18" color = "#cccccc" align = "left"} + + label {text = "F3: " font = "Unifont Regular 18" color = "#00EEEE" align = "left"} + + label {text = "Tree View " font = "Unifont Regular 18" color = "#cccccc" align = "left"} + + label {text = "F4: " font = "Unifont Regular 18" color = "#00EEEE" align = "left"} + + label {text = "Local Boot " font = "Unifont Regular 18" color = "#cccccc" align = "left"} + + label {text = "F5: " font = "Unifont Regular 18" color = "#00EEEE" align = "left"} + + label {text = "Debug " font = "Unifont Regular 18" color = "#cccccc" align = "left"} +} diff --git a/unifont-regular-16.pf2 b/disk_root/ventoy/theme/poly-dark/unifont-regular-16.pf2 similarity index 100% rename from unifont-regular-16.pf2 rename to disk_root/ventoy/theme/poly-dark/unifont-regular-16.pf2 diff --git a/disk_root/ventoy/ventoy.json b/disk_root/ventoy/ventoy.json new file mode 100644 index 0000000..4867ecc --- /dev/null +++ b/disk_root/ventoy/ventoy.json @@ -0,0 +1,113 @@ +{ + "control": [ + { "VTOY_DEFAULT_MENU_MODE": "1" }, + { "VTOY_FILT_DOT_UNDERSCORE_FILE": "1" }, + { "VTOY_DEFAULT_SEARCH_ROOT": "/_ISO" } + ], + "theme": { + "file": "/ventoy/theme/poly-dark/theme.txt", + "gfxmode": "1920x1080", + "display_mode": "GUI", + "ventoy_left": "5%", + "ventoy_top": "95%", + "ventoy_color": "#ff0000" + }, + "menu_class": [ + { + "key": "Acronis", + "class": "acronis" + }, + { + "key": "archlinux-", + "class": "archlinux" + }, + { + "key": "CentOS-", + "class": "centos" + }, + { + "key": "clonezilla-", + "class": "clonezilla" + }, + { + "key": "debian-", + "class": "debian" + }, + { + "key": "deepin-", + "class": "deepin" + }, + { + "key": "elementaryos-", + "class": "elementaryos" + }, + { + "key": "Federa-", + "class": "federa" + }, + { + "key": "linuxmint-", + "class": "linuxmint" + }, + { + "key": "macOS", + "class": "macosx" + }, + { + "key": "openSUSU-", + "class": "opensuse" + }, + { + "key": "Win7", + "class": "windows_7" + }, + { + "key": "Win8", + "class": "windows_8" + }, + { + "key": "Win10", + "class": "windows_10" + }, + { + "key": "WinXP", + "class": "windows_xp" + }, + { + "key": "kubuntu-", + "class": "kubuntu" + }, + { + "key": "lubuntu-", + "class": "lubuntu" + }, + { + "key": "xubuntu-", + "class": "xubuntu" + }, + { + "key": "ubuntu-", + "class": "ubuntu" + }, + { + "dir": "/_ISO/Linux", + "class": "linux" + }, + { + "dir": "/_ISO/macOS", + "class": "macosx" + }, + { + "dir": "/_ISO/Utility", + "class": "utility" + }, + { + "dir": "/_ISO/Windows", + "class": "windows" + }, + { + "dir": "/_ISO/WinPE", + "class": "win_pe" + } + ] +} diff --git a/disk_root/ventoy/ventoy_wimboot.img b/disk_root/ventoy/ventoy_wimboot.img new file mode 100644 index 0000000..38ea96a Binary files /dev/null and b/disk_root/ventoy/ventoy_wimboot.img differ diff --git a/docs/screenshot_init.png b/docs/screenshot_init.png new file mode 100644 index 0000000..f75e5d8 Binary files /dev/null and b/docs/screenshot_init.png differ diff --git a/icons/antergos.png b/icons/antergos.png deleted file mode 100644 index 0941918..0000000 Binary files a/icons/antergos.png and /dev/null differ diff --git a/icons/arch.png b/icons/arch.png deleted file mode 100644 index 60ef6ec..0000000 Binary files a/icons/arch.png and /dev/null differ diff --git a/icons/chakra.png b/icons/chakra.png deleted file mode 100644 index 48a1806..0000000 Binary files a/icons/chakra.png and /dev/null differ diff --git a/icons/debian.png b/icons/debian.png deleted file mode 100644 index 4847dc6..0000000 Binary files a/icons/debian.png and /dev/null differ diff --git a/icons/deepin.png b/icons/deepin.png deleted file mode 100644 index 447cec9..0000000 Binary files a/icons/deepin.png and /dev/null differ diff --git a/icons/elementary.png b/icons/elementary.png deleted file mode 100644 index 402be87..0000000 Binary files a/icons/elementary.png and /dev/null differ diff --git a/icons/fedora.png b/icons/fedora.png deleted file mode 100644 index 4e4d3f4..0000000 Binary files a/icons/fedora.png and /dev/null differ diff --git a/icons/gentoo.png b/icons/gentoo.png deleted file mode 100644 index 3d69b63..0000000 Binary files a/icons/gentoo.png and /dev/null differ diff --git a/icons/gnu-linux.png b/icons/gnu-linux.png deleted file mode 100644 index 1861951..0000000 Binary files a/icons/gnu-linux.png and /dev/null differ diff --git a/icons/kali.png b/icons/kali.png deleted file mode 100644 index 67f2100..0000000 Binary files a/icons/kali.png and /dev/null differ diff --git a/icons/kaos.png b/icons/kaos.png deleted file mode 100644 index 44d4694..0000000 Binary files a/icons/kaos.png and /dev/null differ diff --git a/icons/korora.png b/icons/korora.png deleted file mode 100644 index 4b83e7a..0000000 Binary files a/icons/korora.png and /dev/null differ diff --git a/icons/kubuntu.png b/icons/kubuntu.png deleted file mode 100644 index a02025f..0000000 Binary files a/icons/kubuntu.png and /dev/null differ diff --git a/icons/lfs.png b/icons/lfs.png deleted file mode 100644 index 5bb22f6..0000000 Binary files a/icons/lfs.png and /dev/null differ diff --git a/icons/linux-mint.png b/icons/linux-mint.png deleted file mode 100644 index dc07550..0000000 Binary files a/icons/linux-mint.png and /dev/null differ diff --git a/icons/lubuntu.png b/icons/lubuntu.png deleted file mode 100644 index 18f6526..0000000 Binary files a/icons/lubuntu.png and /dev/null differ diff --git a/icons/mageia.png b/icons/mageia.png deleted file mode 100644 index 3ea5067..0000000 Binary files a/icons/mageia.png and /dev/null differ diff --git a/icons/manjaro.png b/icons/manjaro.png deleted file mode 100644 index 147ccf9..0000000 Binary files a/icons/manjaro.png and /dev/null differ diff --git a/icons/opensuse.png b/icons/opensuse.png deleted file mode 100644 index 9f4dec0..0000000 Binary files a/icons/opensuse.png and /dev/null differ diff --git a/icons/siduction.png b/icons/siduction.png deleted file mode 100644 index b6fb5c5..0000000 Binary files a/icons/siduction.png and /dev/null differ diff --git a/icons/ubuntu.png b/icons/ubuntu.png deleted file mode 100644 index abe5170..0000000 Binary files a/icons/ubuntu.png and /dev/null differ diff --git a/icons/windows.png b/icons/windows.png deleted file mode 100644 index a2eecd1..0000000 Binary files a/icons/windows.png and /dev/null differ diff --git a/icons/xubuntu.png b/icons/xubuntu.png deleted file mode 100644 index 1878bd0..0000000 Binary files a/icons/xubuntu.png and /dev/null differ diff --git a/install.sh b/install.sh deleted file mode 100644 index 1fbe6ca..0000000 --- a/install.sh +++ /dev/null @@ -1,118 +0,0 @@ -#! /usr/bin/env bash - -THEME='poly-dark' -LANG='English' - -# Change to temporary directory -cd $(mktemp -d) - -# Pre-authorise sudo -sudo echo - -# Select language, optional -declare -A LANGS=( - [Chinese]=zh_CN - [English]=EN - [French]=FR - [German]=DE - [Italian]=IT - [Norwegian]=NO - [Portuguese]=PT - [Russian]=RU - [Spanish]=ES - [Ukrainian]=UA -) - -LANG_NAMES=($(echo ${!LANGS[*]} | tr ' ' '\n' | sort -n)) - -PS3='Please select language #: ' -select l in "${LANG_NAMES[@]}" -do - if [[ -v LANGS[$l] ]] - then - LANG=$l - break - else - echo 'No such language, try again' - fi -done < /dev/tty - -# Detect distro and set GRUB location and update method -GRUB_DIR='grub' -UPDATE_GRUB='' - -if [ -e /etc/os-release ]; then - - source /etc/os-release - - if [[ "$ID" =~ (debian|ubuntu|solus) || \ - "$ID_LIKE" =~ (debian|ubuntu) ]]; then - - UPDATE_GRUB='update-grub' - - elif [[ "$ID" =~ (arch|gentoo) || \ - "$ID_LIKE" =~ (archlinux|gentoo) ]]; then - - UPDATE_GRUB='grub-mkconfig -o /boot/grub/grub.cfg' - - elif [[ "$ID" =~ (centos|fedora|opensuse) || \ - "$ID_LIKE" =~ (fedora|rhel|suse) ]]; then - - GRUB_DIR='grub2' - UPDATE_GRUB='grub2-mkconfig -o /boot/grub2/grub.cfg' - fi -fi - - -echo 'Fetching theme archive' -wget -O ${THEME}.zip https://github.com/shvchk/${THEME}/archive/master.zip - -echo 'Unpacking theme' -unzip ${THEME}.zip - -if [[ "$LANG" != "English" ]] -then - echo "Changing language to ${LANG}" - sed -i -r -e '/^\s+# EN$/{n;s/^(\s*)/\1# /}' \ - -e '/^\s+# '"${LANGS[$LANG]}"'$/{n;s/^(\s*)#\s*/\1/}' ${THEME}-master/theme.txt -fi - -echo 'Creating GRUB themes directory' -sudo mkdir -p /boot/${GRUB_DIR}/themes/${THEME} - -echo 'Copying theme to GRUB themes directory' -sudo cp -r ${THEME}-master/* /boot/${GRUB_DIR}/themes/${THEME} - -echo 'Removing other themes from GRUB config' -sudo sed -i '/^GRUB_THEME=/d' /etc/default/grub - -echo 'Making sure GRUB uses graphical output' -sudo sed -i 's/^\(GRUB_TERMINAL\w*=.*\)/#\1/' /etc/default/grub - -echo 'Removing empty lines at the end of GRUB config' # optional -sudo sed -i -e :a -e '/^\n*$/{$d;N;};/\n$/ba' /etc/default/grub - -echo 'Adding new line to GRUB config just in case' # optional -echo | sudo tee -a /etc/default/grub - -echo 'Adding theme to GRUB config' -echo "GRUB_THEME=/boot/${GRUB_DIR}/themes/${THEME}/theme.txt" | sudo tee -a /etc/default/grub - -echo 'Removing theme installation files' -rm -rf ${THEME}.zip ${THEME}-master - -echo 'Updating GRUB' -if [[ $UPDATE_GRUB ]]; then - eval sudo "$UPDATE_GRUB" -else - cat << ' EOF' - -------------------------------------------------------------------------------- - Cannot detect your distro, you will need to run `grub-mkconfig` (as root) manually. - - Common ways: - - Debian, Ubuntu, Solus and derivatives: `update-grub` or `grub-mkconfig -o /boot/grub/grub.cfg` - - RHEL, CentOS, Fedora, SUSE and derivatives: `grub2-mkconfig -o /boot/grub2/grub.cfg` - - Arch, Gentoo and derivatives: `grub-mkconfig -o /boot/grub/grub.cfg` - -------------------------------------------------------------------------------- - EOF -fi diff --git a/theme.txt b/theme.txt deleted file mode 100644 index a51f4a7..0000000 --- a/theme.txt +++ /dev/null @@ -1,87 +0,0 @@ -# Global properties -title-text: "" -desktop-image: "background.png" -desktop-color: "#000000" -terminal-font: "Unifont Regular 18" -terminal-box: "terminal_box_*.png" -terminal-left: "0" -terminal-top: "0" -terminal-width: "100%" -terminal-height: "100%" -terminal-border: "0" - -# Boot menu -+ boot_menu { - left = 15% - top = 20% - width = 70% - height = 60% - item_font = "Unifont Regular 18" - item_color = "#777777" - selected_item_color = "#999999" - item_height = 40 - item_spacing = 4 - item_pixmap_style = "item_*.png" - selected_item_pixmap_style = "selected_item_*.png" -} - -# Countdown message -+ label { - left = 0 - top = 100%-48 - width = 100% - align = "center" - id = "__timeout__" - # DE - # text = "Start in %d Sekunden." - # EN - text = "Booting in %d seconds" - # ES - # text = "Arranque en %d segundos" - # FR - # text = "Démarrage automatique dans %d secondes" - # IT - # text = "Avvio in %d secondi" - # NO - # text = "Starter om %d sekunder" - # PT - # text = "Arranque automático dentro de %d segundos" - # RU - # text = "Загрузка выбранного пункта через %d сек." - # UA - # text = "Автоматичне завантаження розпочнеться через %d сек." - # zh_CN - # text = "在 %d 内启动" - color = "#777777" - font = "Unifont Regular 18" -} - -# Navigation keys hint -+ label { - left = 0 - top = 100%-24 - width = 100% - align = "center" - # DE - # text = "System mit ↑ und ↓ auswählen und mit Enter bestätigen." - # EN - text = "Use ↑ and ↓ keys to change selection, Enter to confirm" - # ES - # text = "Use las teclas ↑ y ↓ para cambiar la selección, Enter para confirmar" - # FR - # text = "Choisissez le système avec les flèches du clavier (↑ et ↓), puis validez avec la touche Enter (↲)" - # IT - # text = "Usa i tasti ↑ e ↓ per cambiare la selezione, premi Invio ↲ per confermare" - # NO - # text = "Bruk ↑ og ↓ for å endre menyvalg, velg med Enter" - # PT - # text = "Use as teclas ↑ e ↓ para mudar a seleção, e ENTER para confirmar" - # RU - # text = "Используйте клавиши ↑ и ↓ для изменения выбора, Enter для подтверждения" - # UA - # text = "Використовуйте ↑ та ↓ для вибору, Enter для підтвердження" - # zh_CN - # text = "使用 ↑ 和 ↓ 键移动选择条,Enter 键确认" - color = "#777777" - font = "Unifont Regular 18" -}