Commit c7d6b66798233f432ff2256bc5c9f8b96642c859

Authored by Silvan Calarco
0 parents
Exists in master

First commit

Showing 9 changed files with 143 additions and 0 deletions Side-by-side Diff

... ... @@ -0,0 +1,68 @@
  1 +# Makefile for gruub-theme-openmamba-circles
  2 +# Copyright (C) 2017 by Silvan Calarco <silvan.calarco@mambasoft.it>
  3 +
  4 +include VERSION
  5 +
  6 +PACKAGE = grub-theme-openmamba
  7 +
  8 +DISTROID = openmamba
  9 +
  10 +RPM_VENDOR = openmamba
  11 +RPM_DISTRIBUTION = openmamba
  12 +RPM_DISTROEXT = mamba
  13 +
  14 +THEMES = circles
  15 +DEFAULT_THEME = circles
  16 +
  17 +DISTROid = $(shell echo $(DISTROID) | tr A-Z a-z)
  18 +DISTROICON = $(DISTROid)
  19 +
  20 +DESTDIR =
  21 +
  22 +prefix = /usr
  23 +exec_prefix = ${prefix}
  24 +sysconfdir = /etc
  25 +sbindir = ${exec_prefix}/sbin
  26 +bindir = ${exec_prefix}/bin
  27 +datadir = ${prefix}/share
  28 +mandir = ${prefix}/usr/share/man
  29 +sysconfigdir= ${sysconfdir}/sysconfig
  30 +iconsdir = ${datadir}/icons/hicolor
  31 +
  32 +xdg_appsdir = ${datadir}/applications
  33 +xdg_directorydir = ${datadir}/desktop-directories
  34 +xdg_menudir = ${sysconfdir}/xdg/menus
  35 +xdg_mergedmenudir = $(xdg_menudir)/applications-merged
  36 +
  37 +srcdir = .
  38 +
  39 +distdir = $(PACKAGE)-$(VERSION)
  40 +dist_archive = $(distdir).tar.bz2
  41 +
  42 +INSTALL = /usr/bin/install
  43 +INSTALL_PROGRAM = ${INSTALL} -m 755
  44 +INSTALL_DATA = ${INSTALL} -m 644
  45 +INSTALL_DIR = ${INSTALL} -d -m 755
  46 +INSTALL_SCRIPT = ${INSTALL_PROGRAM}
  47 +
  48 +all:
  49 +
  50 +install:
  51 + @$(INSTALL_DIR) $(DESTDIR)$(datadir)/grub/themes
  52 + @cp -a circles $(DESTDIR)$(datadir)/grub/themes
  53 +
  54 +dist: clean
  55 + @mkdir /tmp/$(distdir)
  56 + @cp -a * /tmp/$(distdir)/
  57 + @rm -f $(dist_archive);\
  58 + tar cf - -C /tmp $(distdir) | bzip2 -9 -c > $(dist_archive)
  59 + @rm -rf /tmp/$(distdir)
  60 + @echo "file \`$(dist_archive)' created"
  61 +
  62 +dist-rpm: dist
  63 + @rpm_sourcedir=`rpm --eval=%{_sourcedir}`;\
  64 + mv -f $(dist_archive) $$rpm_sourcedir;\
  65 + echo "and saved as \`$$rpm_sourcedir/$(dist_archive)'"
  66 +
  67 +clean:
  68 + rm -f $(dist_archive)
... ... @@ -0,0 +1 @@
  1 +VERSION = 4.0
circles/background.png

42 KB

circles/dejavu_10.pf2
No preview for this file type
circles/dejavu_12.pf2
No preview for this file type
circles/dejavu_14.pf2
No preview for this file type
circles/dejavu_16.pf2
No preview for this file type
circles/dejavu_bold_14.pf2
No preview for this file type
... ... @@ -0,0 +1,74 @@
  1 +# Copyright (C) 2017 Silvan Calarco <silvan.calarco@mambasoft.it>
  2 +# Background image copyright:
  3 +# Copyright (C) 2016 Cristina Iurissevich <cristina.iurissevich@gmail.com>
  4 +#
  5 +# This program is free software; you can redistribute it and/or
  6 +# modify it under the terms of the GNU General Public License as
  7 +# published by the Free Software Foundation; either version 3 of
  8 +# the License or any later version accepted by the membership of
  9 +# KDE e.V. (or its successor approved by the membership of KDE
  10 +# e.V.), which shall act as a proxy defined in Section 14 of
  11 +# version 3 of the license.
  12 +#
  13 +# This program is distributed in the hope that it will be useful,
  14 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  15 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16 +# GNU General Public License for more details.
  17 +#
  18 +# You should have received a copy of the GNU General Public License
  19 +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  20 +
  21 +# General settings
  22 +title-text: ""
  23 +title-font: "DejaVu Sans Regular 14"
  24 +message-font: "DejaVu Sans Regular 12"
  25 +message-color: "#7f8c8d"
  26 +message-bg-color: "#4d4d4d"
  27 +desktop-color: "#000000" # black
  28 +desktop-image: "background.png"
  29 +
  30 +# title
  31 +# NOTE: can't put this in a vbox because GRUB is crap and item highlighting
  32 +# is broken if you put the boot_menu in a vbox...
  33 +# TODO: file bug report
  34 ++ label {
  35 + top = 50%-275 # (150+43+32) menu + height + spacer
  36 + left = 0%
  37 + width = 100%
  38 + text = "Select Operating System"
  39 + align = "center"
  40 + font = "DejaVu Sans Regular 32"
  41 + color = "#ffffff"
  42 +}
  43 +
  44 +# Show the boot menu
  45 ++ boot_menu {
  46 + left = 50%-400
  47 + width = 600
  48 + # NB: this is scooped upwards from the middle.
  49 + # effectively 50px are below and the remaining 150 above
  50 + top = 50%-200
  51 + height = 400
  52 + # Icon
  53 + icon_width = 4
  54 + icon_height = 0
  55 + # Item
  56 + item_height = 33
  57 + item_padding = 1
  58 + item_icon_space = 0
  59 + item_spacing = 1
  60 + item_font = "DejaVu Sans Regular 16"
  61 + item_color = "#7f8c8d"
  62 + selected_item_font = "DejaVu Sans Bold 16"
  63 + selected_item_color = "#ffffff"
  64 +}
  65 +
  66 ++ vbox {
  67 + left = 50%-400 # same as menu
  68 + top = 50%+113 # (50+16+19+28) half menu + spacer + progress + spacer
  69 + width = 600 # same as menu
  70 + + label { width = 400 align = "center" color = "#7f8c8d" font = "DejaVu Sans Regular 14" text = "[Enter] Boot the selected OS" }
  71 + + label { width = 400 align = "center" color = "#7f8c8d" font = "DejaVu Sans Regular 14" text = "[Up and Down Key] navigation" }
  72 + + label { width = 400 align = "center" color = "#7f8c8d" font = "DejaVu Sans Regular 14" text = "[E] Edit Selection" }
  73 + + label { width = 400 align = "center" color = "#7f8c8d" font = "DejaVu Sans Regular 14" text = "[C] GRUB Command Line" }
  74 +}