Commit c7d6b667 authored by Silvan Calarco's avatar Silvan Calarco

First commit

parents
# Makefile for gruub-theme-openmamba-circles
# Copyright (C) 2017 by Silvan Calarco <silvan.calarco@mambasoft.it>
include VERSION
PACKAGE = grub-theme-openmamba
DISTROID = openmamba
RPM_VENDOR = openmamba
RPM_DISTRIBUTION = openmamba
RPM_DISTROEXT = mamba
THEMES = circles
DEFAULT_THEME = circles
DISTROid = $(shell echo $(DISTROID) | tr A-Z a-z)
DISTROICON = $(DISTROid)
DESTDIR =
prefix = /usr
exec_prefix = ${prefix}
sysconfdir = /etc
sbindir = ${exec_prefix}/sbin
bindir = ${exec_prefix}/bin
datadir = ${prefix}/share
mandir = ${prefix}/usr/share/man
sysconfigdir= ${sysconfdir}/sysconfig
iconsdir = ${datadir}/icons/hicolor
xdg_appsdir = ${datadir}/applications
xdg_directorydir = ${datadir}/desktop-directories
xdg_menudir = ${sysconfdir}/xdg/menus
xdg_mergedmenudir = $(xdg_menudir)/applications-merged
srcdir = .
distdir = $(PACKAGE)-$(VERSION)
dist_archive = $(distdir).tar.bz2
INSTALL = /usr/bin/install
INSTALL_PROGRAM = ${INSTALL} -m 755
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_DIR = ${INSTALL} -d -m 755
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
all:
install:
@$(INSTALL_DIR) $(DESTDIR)$(datadir)/grub/themes
@cp -a circles $(DESTDIR)$(datadir)/grub/themes
dist: clean
@mkdir /tmp/$(distdir)
@cp -a * /tmp/$(distdir)/
@rm -f $(dist_archive);\
tar cf - -C /tmp $(distdir) | bzip2 -9 -c > $(dist_archive)
@rm -rf /tmp/$(distdir)
@echo "file \`$(dist_archive)' created"
dist-rpm: dist
@rpm_sourcedir=`rpm --eval=%{_sourcedir}`;\
mv -f $(dist_archive) $$rpm_sourcedir;\
echo "and saved as \`$$rpm_sourcedir/$(dist_archive)'"
clean:
rm -f $(dist_archive)
VERSION = 4.0
# Copyright (C) 2017 Silvan Calarco <silvan.calarco@mambasoft.it>
# Background image copyright:
# Copyright (C) 2016 Cristina Iurissevich <cristina.iurissevich@gmail.com>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 3 of
# the License or any later version accepted by the membership of
# KDE e.V. (or its successor approved by the membership of KDE
# e.V.), which shall act as a proxy defined in Section 14 of
# version 3 of the license.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# General settings
title-text: ""
title-font: "DejaVu Sans Regular 14"
message-font: "DejaVu Sans Regular 12"
message-color: "#7f8c8d"
message-bg-color: "#4d4d4d"
desktop-color: "#000000" # black
desktop-image: "background.png"
# title
# NOTE: can't put this in a vbox because GRUB is crap and item highlighting
# is broken if you put the boot_menu in a vbox...
# TODO: file bug report
+ label {
top = 50%-275 # (150+43+32) menu + height + spacer
left = 0%
width = 100%
text = "Select Operating System"
align = "center"
font = "DejaVu Sans Regular 32"
color = "#ffffff"
}
# Show the boot menu
+ boot_menu {
left = 50%-400
width = 600
# NB: this is scooped upwards from the middle.
# effectively 50px are below and the remaining 150 above
top = 50%-200
height = 400
# Icon
icon_width = 4
icon_height = 0
# Item
item_height = 33
item_padding = 1
item_icon_space = 0
item_spacing = 1
item_font = "DejaVu Sans Regular 16"
item_color = "#7f8c8d"
selected_item_font = "DejaVu Sans Bold 16"
selected_item_color = "#ffffff"
}
+ vbox {
left = 50%-400 # same as menu
top = 50%+113 # (50+16+19+28) half menu + spacer + progress + spacer
width = 600 # same as menu
+ label { width = 400 align = "center" color = "#7f8c8d" font = "DejaVu Sans Regular 14" text = "[Enter] Boot the selected OS" }
+ label { width = 400 align = "center" color = "#7f8c8d" font = "DejaVu Sans Regular 14" text = "[Up and Down Key] navigation" }
+ label { width = 400 align = "center" color = "#7f8c8d" font = "DejaVu Sans Regular 14" text = "[E] Edit Selection" }
+ label { width = 400 align = "center" color = "#7f8c8d" font = "DejaVu Sans Regular 14" text = "[C] GRUB Command Line" }
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment