addet init script
This commit is contained in:
parent
e47f2fc55d
commit
509c06bc59
6 changed files with 37 additions and 7 deletions
11
install.sh
11
install.sh
|
@ -48,11 +48,14 @@ function check_root() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function select_theme() {
|
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: ')
|
PS3=$(echo_prompt '\nChoose The Theme You Want: ')
|
||||||
select THEME_NAME in "${themes[@]}"; do
|
select THEME_NAME in "${themes[@]}"; do
|
||||||
case "${THEME_NAME}" in
|
case "${THEME_NAME}" in
|
||||||
|
'GradientGuy')
|
||||||
|
splash 'Installing GradientGuy Theme...'
|
||||||
|
break;;
|
||||||
'Vimix')
|
'Vimix')
|
||||||
splash 'Installing Vimix Theme...'
|
splash 'Installing Vimix Theme...'
|
||||||
break;;
|
break;;
|
||||||
|
@ -62,15 +65,9 @@ function select_theme() {
|
||||||
'Shodan')
|
'Shodan')
|
||||||
splash 'Installing Shodan Theme...'
|
splash 'Installing Shodan Theme...'
|
||||||
break;;
|
break;;
|
||||||
'fallout')
|
|
||||||
splash 'Installing fallout Theme...'
|
|
||||||
break;;
|
|
||||||
'CyberRe')
|
'CyberRe')
|
||||||
splash 'Installing CyberRe Theme...'
|
splash 'Installing CyberRe Theme...'
|
||||||
break;;
|
break;;
|
||||||
'minegrub-theme')
|
|
||||||
splash 'Installing Minecraft Theme...'
|
|
||||||
break;;
|
|
||||||
'Quit')
|
'Quit')
|
||||||
echo_info 'User requested exit...!'
|
echo_info 'User requested exit...!'
|
||||||
exit 0;;
|
exit 0;;
|
||||||
|
|
BIN
themes/GradientGuy/background.png
Normal file
BIN
themes/GradientGuy/background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 198 KiB |
BIN
themes/GradientGuy/select_c.png
Normal file
BIN
themes/GradientGuy/select_c.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 95 B |
BIN
themes/GradientGuy/select_e.png
Normal file
BIN
themes/GradientGuy/select_e.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 220 B |
BIN
themes/GradientGuy/select_w.png
Normal file
BIN
themes/GradientGuy/select_w.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 218 B |
33
themes/GradientGuy/theme.txt
Normal file
33
themes/GradientGuy/theme.txt
Normal 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"
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue