Skip to content

LordOS — a free, fast and secure GNU/Linux distribution based on Debian, with its own desktop environment: display server and Wayland compositor in C, a React UI engine on QuickJS, and private native apps.

1.8 KB
Raw Blame
# LordOS boot menu theme (GRUB 2). The ISO (tools/iso/build.sh) and the disk installer
# (GRUB_THEME=/usr/share/grub/themes/lordos/theme.txt) use it. Images: tools/boot/gen-boot-assets.py;
# fonts: docs/ISO.md, "Boot splash and boot menu". See also docs/brand/README.md.
title-text: ""
desktop-image: "background.png"
desktop-image-scale-method: "stretch"
desktop-color: "#0B0B1C"
# the terminal (command line, entry editor, boot messages) uses GRUB's own fixed-width font: gfxterm
# is a character grid, and with Inter (proportional) it corrupted GRUB's memory at 640x480 on legacy
# BIOS (0.8.0: triple fault on VMware, hang on QEMU's VMware-compatible display). docs/ISO.md,
# "Firmware and displays". Loaded by "loadfont unicode" (ISO) or GRUB_FONT (installed system).
terminal-font: "GNU Unifont Regular 16"
terminal-left: "10%"
terminal-top: "10%"
terminal-width: "80%"
terminal-height: "80%"
terminal-box: "terminal_box_*.png"

# the crown, small, above the menu
+ image {
    left = 50%-48
    top = 50%-250
    width = 96
    height = 96
    file = "crown.png"
}

+ boot_menu {
    left = 50%-280
    top = 50%-110
    width = 560
    height = 290
    item_font = "Inter Regular 16"
    item_color = "#B9B6D9"
    selected_item_font = "Inter SemiBold 16"
    selected_item_color = "#FFFFFF"
    item_height = 34
    item_padding = 16
    item_spacing = 18
    item_icon_space = 0
    icon_width = 0
    icon_height = 0
    selected_item_pixmap_style = "select_*.png"
    scrollbar = false
}

# no countdown bar: GRUB draws its progress bar at least one text line high, which doesn't match
# the splash's thin bar; the timeout still runs

+ label {
    left = 0
    top = 100%-56
    width = 100%
    height = 20
    align = "center"
    font = "Inter Regular 14"
    color = "#6F6C93"
    text = "Enter: boot     E: edit     C: command line"
}