This commit is contained in:
pika 2025-05-11 17:28:41 +02:00
parent 62b3c73d20
commit e7a2286a18

View file

@ -81,9 +81,31 @@ askThings() {
echo_info "Set menu to $menu"
fi
echo_note "What terminal to you want to install? [a]lacritty, [f]oot, [k]itty, [w]ezterm"
read -r askTerminal </dev/tty
case "$askTerminal" in
[aA] | alacritty)
terminal="alacritty"
;;
[fF] | foot)
terminal="foot"
;;
[kK] | kitty)
terminal="kitty"
;;
[wW] | wezterm)
terminal="wezterm"
;;
*)
terminal="foot"
;;
esac
echo_info "Set terminal to $terminal"
advDeps=(
$bar
$menu
$terminal
)
}
@ -167,6 +189,15 @@ main() {
)
checkAndInstall "${deps[@]}"
;;
debian)
local deps=(
hyprland-dev
hyprland-protocols
wayland-protocols
xdg-desktop-portal-hyprland
kitty
)
checkAndInstall "${deps[@]}"
*)
echo "$distro is not supported by this script!"
exit 1
@ -175,7 +206,16 @@ main() {
}
if getImports; then
askThings
instCustom
main
case "$1" in
--silent | -s)
echo_info "Executing main silently.."
silent=true
;;
*) silent=false ;;
esac
fi
askThings
instCustom
main