# -- Grub2 theme originally for Slackware Live Edition --
# --  Created by Eric Hameleers <alien@slackware.com>  --
# 
# (1) Create a new Grub2 theme directory /boot/grub/themes/liveslak
# (2) Copy the contents of current directory into /boot/grub/themes/liveslak/
# (3) In '/etc/default/grub' add or modify the following lines:
#       GRUB_THEME=/boot/grub/themes/liveslak/theme.txt
#       GRUB_FONT=/boot/grub/themes/liveslak/dejavusansmono12.pf2
#       GRUB_GFXMODE=1024x768,800x600,640x480,auto
#       GRUB_GFXPAYLOAD_LINUX=keep
# (4) Then run (as root): update-grub
# (5) Now, reboot.
#
# Global Properties:
title-text: ""
title-font: "DejaVu Sans Mono Regular 15"
title-color: "#5569B9"
desktop-image: "swlogog.png"
desktop-color: "#000000"
message-font: "DejaVu Sans Mono Regular 15"
terminal-font: "DejaVu Sans Mono Regular 12"

# Show the boot menu
+ boot_menu {
  left = 5%
  top = 35%
  width = 75%
  height = 45%
  item_font = "DejaVu Sans Mono Regular 15"
  item_color = "lightgrey"
  selected_item_color = "red"
  item_height = 15
  item_padding = 5 # Vertical spacing between menuentries.
  item_spacing = 5
}

# Show a horizontal progress bar
+ progress_bar {
  text = ""
  id = "__timeout__"
  left = 5%
  width = 90%
  top = 85%
  height = 5
  font = "DejaVu Sans Mono Regular 5"
  text_color = "red"
  fg_color = "#5569B9"
  bg_color = "#000000"
  border_color = "#333333"
}

# Show an informational message.
+ hbox {
  top = 100%-60
  left = 31%
  height = 20
  + label {
    text = "Enter: Boot Selection     E: Edit Selection     C: GRUB Commandline" font = "DejaVu Sans Mono Regular 12" color = "#B9556B" align = "center"
  }
}
