diff --git a/INSTALL.md b/INSTALL.md index d9c4322..d671938 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -4,7 +4,7 @@ If you are a git user, you can install the theme and keep up to date by cloning the repo: - $ git clone https://github.com/dracula/template.git + $ git clone https://github.com/dracula/grub.git #### Install manually @@ -12,6 +12,6 @@ Download using the [GitHub .zip download](https://github.com/dracula/template/ar #### Activating theme -1. Do this -2. Then that -3. Boom! It's working \ No newline at end of file +1. Move the dracula folder to /usr/share/grub/themes/ +2. Change the theme in /etc/default/grub +3. Run `sudo grub-mkconfig -o /boot/grub/grub.cfg` diff --git a/README.md b/README.md index 79b6a9d..a19c3e2 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ -# Dracula for [X](http://link-to-x.com) +# Dracula for [GRUB](https://gnu.org/software/grub/) -> A dark theme for [X](http://link-to-x.com). +> A dark theme for [GRUB](https://gnu.org/software/grub/). ![Screenshot](./screenshot.png) ## Install -All instructions can be found at [draculatheme.com/x](https://draculatheme.com/x). +All instructions can be found at [draculatheme.com/grub](https://draculatheme.com/grub). ## Team @@ -18,4 +18,4 @@ This theme is maintained by the following person(s) and a bunch of [awesome cont ## License -[MIT License](./LICENSE) \ No newline at end of file +[MIT License](./LICENSE) diff --git a/dracula/background.png b/dracula/background.png new file mode 100644 index 0000000..1c3c05e Binary files /dev/null and b/dracula/background.png differ diff --git a/dracula/font.pf2 b/dracula/font.pf2 new file mode 100644 index 0000000..b87a776 Binary files /dev/null and b/dracula/font.pf2 differ diff --git a/dracula/icons/antergos.png b/dracula/icons/antergos.png new file mode 100644 index 0000000..3021a90 Binary files /dev/null and b/dracula/icons/antergos.png differ diff --git a/dracula/icons/arch.png b/dracula/icons/arch.png new file mode 100644 index 0000000..65dfdc2 Binary files /dev/null and b/dracula/icons/arch.png differ diff --git a/dracula/icons/chakra.png b/dracula/icons/chakra.png new file mode 100644 index 0000000..2971971 Binary files /dev/null and b/dracula/icons/chakra.png differ diff --git a/dracula/icons/debian.png b/dracula/icons/debian.png new file mode 100644 index 0000000..bb3b8e8 Binary files /dev/null and b/dracula/icons/debian.png differ diff --git a/dracula/icons/deepin.png b/dracula/icons/deepin.png new file mode 100644 index 0000000..5cb58c6 Binary files /dev/null and b/dracula/icons/deepin.png differ diff --git a/dracula/icons/elementary.png b/dracula/icons/elementary.png new file mode 100644 index 0000000..3614d33 Binary files /dev/null and b/dracula/icons/elementary.png differ diff --git a/dracula/icons/fedora.png b/dracula/icons/fedora.png new file mode 100644 index 0000000..25b8608 Binary files /dev/null and b/dracula/icons/fedora.png differ diff --git a/dracula/icons/gentoo.png b/dracula/icons/gentoo.png new file mode 100644 index 0000000..319ee61 Binary files /dev/null and b/dracula/icons/gentoo.png differ diff --git a/dracula/icons/gnu-linux.png b/dracula/icons/gnu-linux.png new file mode 100644 index 0000000..64b217e Binary files /dev/null and b/dracula/icons/gnu-linux.png differ diff --git a/dracula/icons/kali.png b/dracula/icons/kali.png new file mode 100644 index 0000000..8297258 Binary files /dev/null and b/dracula/icons/kali.png differ diff --git a/dracula/icons/kaos.png b/dracula/icons/kaos.png new file mode 100644 index 0000000..e2ef5da Binary files /dev/null and b/dracula/icons/kaos.png differ diff --git a/dracula/icons/korora.png b/dracula/icons/korora.png new file mode 100644 index 0000000..dc0c748 Binary files /dev/null and b/dracula/icons/korora.png differ diff --git a/dracula/icons/kubuntu.png b/dracula/icons/kubuntu.png new file mode 100644 index 0000000..7676241 Binary files /dev/null and b/dracula/icons/kubuntu.png differ diff --git a/dracula/icons/lfs.png b/dracula/icons/lfs.png new file mode 100644 index 0000000..b5eac27 Binary files /dev/null and b/dracula/icons/lfs.png differ diff --git a/dracula/icons/linux-mint.png b/dracula/icons/linux-mint.png new file mode 100644 index 0000000..c8a946f Binary files /dev/null and b/dracula/icons/linux-mint.png differ diff --git a/dracula/icons/lubuntu.png b/dracula/icons/lubuntu.png new file mode 100644 index 0000000..cf8fa5f Binary files /dev/null and b/dracula/icons/lubuntu.png differ diff --git a/dracula/icons/mageia.png b/dracula/icons/mageia.png new file mode 100644 index 0000000..a6dbfb6 Binary files /dev/null and b/dracula/icons/mageia.png differ diff --git a/dracula/icons/manjaro.png b/dracula/icons/manjaro.png new file mode 100644 index 0000000..3150ee4 Binary files /dev/null and b/dracula/icons/manjaro.png differ diff --git a/dracula/icons/opensuse.png b/dracula/icons/opensuse.png new file mode 100644 index 0000000..1064d84 Binary files /dev/null and b/dracula/icons/opensuse.png differ diff --git a/dracula/icons/pop-os.png b/dracula/icons/pop-os.png new file mode 100644 index 0000000..1e9f5e9 Binary files /dev/null and b/dracula/icons/pop-os.png differ diff --git a/dracula/icons/pop.png b/dracula/icons/pop.png new file mode 100644 index 0000000..1e9f5e9 Binary files /dev/null and b/dracula/icons/pop.png differ diff --git a/dracula/icons/siduction.png b/dracula/icons/siduction.png new file mode 100644 index 0000000..774a17f Binary files /dev/null and b/dracula/icons/siduction.png differ diff --git a/dracula/icons/ubuntu.png b/dracula/icons/ubuntu.png new file mode 100644 index 0000000..2452c14 Binary files /dev/null and b/dracula/icons/ubuntu.png differ diff --git a/dracula/icons/windows.png b/dracula/icons/windows.png new file mode 100644 index 0000000..d059667 Binary files /dev/null and b/dracula/icons/windows.png differ diff --git a/dracula/icons/xubuntu.png b/dracula/icons/xubuntu.png new file mode 100644 index 0000000..623ace0 Binary files /dev/null and b/dracula/icons/xubuntu.png differ diff --git a/dracula/logo.png b/dracula/logo.png new file mode 100644 index 0000000..7ee1cd1 Binary files /dev/null and b/dracula/logo.png differ diff --git a/dracula/select_c.png b/dracula/select_c.png new file mode 100644 index 0000000..1b9cf59 Binary files /dev/null and b/dracula/select_c.png differ diff --git a/dracula/select_e.png b/dracula/select_e.png new file mode 100644 index 0000000..a02c0f5 Binary files /dev/null and b/dracula/select_e.png differ diff --git a/dracula/select_n.png b/dracula/select_n.png new file mode 100644 index 0000000..af791a2 Binary files /dev/null and b/dracula/select_n.png differ diff --git a/dracula/select_ne.png b/dracula/select_ne.png new file mode 100644 index 0000000..6c0329c Binary files /dev/null and b/dracula/select_ne.png differ diff --git a/dracula/select_nw.png b/dracula/select_nw.png new file mode 100644 index 0000000..eeecb52 Binary files /dev/null and b/dracula/select_nw.png differ diff --git a/dracula/select_s.png b/dracula/select_s.png new file mode 100644 index 0000000..577bd29 Binary files /dev/null and b/dracula/select_s.png differ diff --git a/dracula/select_se.png b/dracula/select_se.png new file mode 100644 index 0000000..5c8698b Binary files /dev/null and b/dracula/select_se.png differ diff --git a/dracula/select_sw.png b/dracula/select_sw.png new file mode 100644 index 0000000..337ee8c Binary files /dev/null and b/dracula/select_sw.png differ diff --git a/dracula/select_w.png b/dracula/select_w.png new file mode 100644 index 0000000..0e1e70f Binary files /dev/null and b/dracula/select_w.png differ diff --git a/dracula/theme.txt b/dracula/theme.txt new file mode 100644 index 0000000..b8b0952 --- /dev/null +++ b/dracula/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: "#282a36" +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 = "#f6f6f6" + selected_item_color = "#f6f6f6" + 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 = "#f6f6f6" +} diff --git a/sample/sample.js b/sample/sample.js deleted file mode 100644 index e5193d2..0000000 --- a/sample/sample.js +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Once upon a time... - */ - -class Vampire { - constructor(props) { - this.location = props.location; - this.birthDate = props.birthDate; - this.deathDate = props.deathDate; - this.weaknesses = props.weaknesses; - } - - get age() { - return this.calcAge(); - } - - calcAge() { - return this.deathDate - this.birthDate; - } -} - -// ...there was a guy named Vlad - -const Dracula = new Vampire({ - location: 'Transylvania', - birthDate: 1428, - deathDate: 1476, - weaknesses: ['Sunlight', 'Garlic'] -}); \ No newline at end of file diff --git a/sample/sample.py b/sample/sample.py deleted file mode 100644 index 95d9346..0000000 --- a/sample/sample.py +++ /dev/null @@ -1,23 +0,0 @@ -# Once upon a time... - -class Vampire: - def __init__(self, props): - self.location = props['location'] - self.birthDate = props['birthDate'] - self.deathDate = props['deathDate'] - self.weaknesses = props['weaknesses'] - - def get_age(self): - return self.calc_age() - - def calc_age(self): - return self.deathDate - self.birthDate - -# ...there was a guy named Vlad - -Dracula = Vampire({ - 'location': 'Transylvania', - 'birthDate': 1428, - 'deathDate': 1476, - 'weaknesses': ['Sunlight', 'Garlic'] -}) \ No newline at end of file