addet init script

This commit is contained in:
Alexander Pieck 2024-05-10 23:12:55 +02:00
parent e47f2fc55d
commit 509c06bc59
6 changed files with 37 additions and 7 deletions

View file

@ -48,11 +48,14 @@ function check_root() {
}
function select_theme() {
themes=('Vimix' 'Cyberpunk' 'Shodan' 'fallout' 'CyberRe' 'minegrub-theme' 'Quit')
themes=('Vimix' 'Cyberpunk' 'Shodan' 'fallout' 'CyberRe' 'minegrub-theme' 'Quit' 'GradientGuy')
PS3=$(echo_prompt '\nChoose The Theme You Want: ')
select THEME_NAME in "${themes[@]}"; do
case "${THEME_NAME}" in
'GradientGuy')
splash 'Installing GradientGuy Theme...'
break;;
'Vimix')
splash 'Installing Vimix Theme...'
break;;
@ -62,15 +65,9 @@ function select_theme() {
'Shodan')
splash 'Installing Shodan Theme...'
break;;
'fallout')
splash 'Installing fallout Theme...'
break;;
'CyberRe')
splash 'Installing CyberRe Theme...'
break;;
'minegrub-theme')
splash 'Installing Minecraft Theme...'
break;;
'Quit')
echo_info 'User requested exit...!'
exit 0;;

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 B

View file

@ -0,0 +1,33 @@
#Main
title-text: ""
desktop-image: "background.png"
desktop-color: "#000000"
terminal-left: "0"
terminal-top: "0"
terminal-width: "100%"
terminal-height: "100%"
terminal-border: "0"
#Boot Menu
+ boot_menu {
left = 20%
top = 25%
width = 60%
height = 50%
item_color = "#fff"
selected_item_color = "#fff"
selected_item_pixmap_style = "select_*.png"
#menu_pixmap_style = "menu_*.png"
item_height = 30
item_padding = 2
item_spacing = 5
}
+ label {
left = 20%
top = 15%
align = "center"
id = "__timeout__"
text = "Selected OS will boot in %d seconds"
color = "#fff"
}