Skip to content
Snippets Groups Projects
Commit 073c6db0 authored by udeved's avatar udeved
Browse files

initial commit


Signed-off-by: default avatarudeved <artoo@manjaro.org>
parents
No related branches found
No related tags found
No related merge requests found
Makefile 0 → 100644
Version=17.0.1
PREFIX = /usr/local
CFG = $(wildcard cfg/*.cfg)
THEME = $(wildcard manjaro-live/*.png) \
manjaro-live/theme.txt \
manjaro-live/u_vga16_16.pf2
ICONS= $(wildcard manjaro-live/icons/*.png)
TZ = $(wildcard tz/*)
LOCALES = $(wildcard locales/*)
install:
install -dm0755 $(DESTDIR)$(PREFIX)/share/grub/cfg
install -m0644 ${CFG} $(DESTDIR)$(PREFIX)/share/grub/cfg
install -dm0755 $(DESTDIR)$(PREFIX)/share/grub/tz
install -m0644 ${TZ} $(DESTDIR)$(PREFIX)/share/grub/tz
install -dm0755 $(DESTDIR)$(PREFIX)/share/grub/locales
install -m0644 ${LOCALES} $(DESTDIR)$(PREFIX)/share/grub/locales
install -dm0755 $(DESTDIR)$(PREFIX)/share/grub/themes/manjaro-live
install -m0644 ${THEME} $(DESTDIR)$(PREFIX)/share/grub/themes/manjaro-live
install -dm0755 $(DESTDIR)$(PREFIX)/share/grub/themes/manjaro-live/icons
install -m0644 ${ICONS} $(DESTDIR)$(PREFIX)/share/grub/themes/manjaro-live/icons
uninstall:
for f in ${CFG}; do rm -f $(DESTDIR)$(PREFIX)/share/grub/cfg/$$f; done
for f in ${TZ}; do rm -f $(DESTDIR)$(PREFIX)/share/grub/tz/$$f; done
for f in ${LOCALES}; do rm -f $(DESTDIR)$(PREFIX)/share/grub/locales/$$f; done
for f in ${THEME}; do rm -f $(DESTDIR)$(PREFIX)/share/grub/theme/manajro-live/$$f; done
for f in ${ICONS}; do rm -f $(DESTDIR)$(PREFIX)/share/grub/theme/manajro-live/icons/$$f; done
dist:
git archive --format=tar --prefix=grub-theme-$(Version)/ $(Version) | gzip -9 > grub-theme-$(Version).tar.gz
gpg --detach-sign --use-agent grub-theme-$(Version).tar.gz
.PHONY: install uninstall dist
manjaro-grub-theme
==================
Manjaro's grub theme for install media
source /boot/grub/grub.cfg
grub_theme=/boot/grub/themes/manjaro-live/theme.txt
timeout=-1
lang=C
bootlang="lang=C_"
def_bootlang="C_"
if [ -z "${keyboard}" ]; then
def_keyboard="us"
fi
if [ -z "${timezone}" ]; then
def_timezone="Etc/UTC"
fi
lang=be
bootlang="lang=be_BY"
def_bootlang="be_BY"
if [ -z "${keyboard}" ]; then
def_keyboard="by"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Minsk"
fi
lang=bg
bootlang="lang=bg_BG"
def_bootlang="bg_BG"
if [ -z "${keyboard}" ]; then
def_keyboard="bg"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Sofia"
fi
lang=bs
bootlang="lang=bs_BA"
def_bootlang="bs_BA"
if [ -z "${keyboard}" ]; then
def_keyboard="ba"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Sarajevo"
fi
lang=cs
bootlang="lang=cs_CZ"
def_bootlang="cs_CZ"
if [ -z "${keyboard}" ]; then
def_keyboard="cz"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Prague"
fi
lang=da
bootlang="lang=da_DK"
def_bootlang="da_DK"
if [ -z "${keyboard}" ]; then
def_keyboard="dk"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Copenhagen"
fi
lang=de
bootlang="lang=de_AT"
def_bootlang="de_AT"
if [ -z "${keyboard}" ]; then
def_keyboard="de"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Vienna"
fi
lang=de
bootlang="lang=de_BE"
def_bootlang="de_BE"
if [ -z "${keyboard}" ]; then
def_keyboard="be"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Brussels"
fi
lang=de
bootlang="lang=de_CH"
def_bootlang="de_CH"
if [ -z "${keyboard}" ]; then
def_keyboard="ch"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Zurich"
fi
lang=de
bootlang="lang=de_DE"
def_bootlang="de_DE"
if [ -z "${keyboard}" ]; then
def_keyboard="de"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Berlin"
fi
lang=de
bootlang="lang=de_LI"
def_bootlang="de_LI"
if [ -z "${keyboard}" ]; then
def_keyboard="de"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Vaduz"
fi
lang=de
bootlang="lang=de_LU"
def_bootlang="de_LU"
if [ -z "${keyboard}" ]; then
def_keyboard="de"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Luxembourg"
fi
lang=el
bootlang="lang=el_CY"
def_bootlang="el_CY"
if [ -z "${keyboard}" ]; then
def_keyboard="gr"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Athens"
fi
lang=el
bootlang="lang=el_GR"
def_bootlang="el_GR"
if [ -z "${keyboard}" ]; then
def_keyboard="gr"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Athens"
fi
lang=en
bootlang="lang=en_AG"
def_bootlang="en_AG"
if [ -z "${keyboard}" ]; then
def_keyboard="us"
fi
if [ -z "${timezone}" ]; then
def_timezone="America/Antigua"
fi
lang=en
bootlang="lang=en_AU"
def_bootlang="en_AU"
if [ -z "${keyboard}" ]; then
def_keyboard="us"
fi
if [ -z "${timezone}" ]; then
def_timezone="Australia/Sydney"
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment