hyprland-dotfiles/.install/issue.sh
Stephan Raabe 442f8bed08 Add figlet
2023-12-21 21:57:44 +01:00

18 lines
523 B
Bash

# ------------------------------------------------------
# Install tty login and issue
# ------------------------------------------------------
if [ $disman == 1 ]; then
echo -e "${GREEN}"
figlet "TTY issue"
echo -e "${NONE}"
if gum confirm "Do you want to install the custom tty login issue?" ;then
sudo cp login/issue /etc/issue
echo "Custom tty login issue installed successfully."
elif [ $? -eq 130 ]; then
exit 130
else
echo "Setup tty login skipped."
fi
echo ""
fi