mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 18:20:13 +01:00
style: unify read function across all scripts for cohesion
This commit is contained in:
parent
b1ae1d234e
commit
c754afcd0d
@ -71,7 +71,7 @@ sudo cp assets/hyprland.desktop "$wayland_sessions_dir/" 2>&1 | tee -a "$LOG"
|
||||
# SDDM-themes
|
||||
valid_input=false
|
||||
while [ "$valid_input" != true ]; do
|
||||
read -n 1 -r -p "${CAT} OPTIONAL - Would you like to install SDDM themes? (y/n)" install_sddm_theme
|
||||
read -p "${CAT} OPTIONAL - Would you like to install SDDM themes? (y/n): " install_sddm_theme
|
||||
if [[ $install_sddm_theme =~ ^[Yy]$ ]]; then
|
||||
printf "\n%s - Installing Simple SDDM Theme\n" "${NOTE}"
|
||||
|
||||
|
||||
@ -59,7 +59,7 @@ sleep 1
|
||||
printf "\n"
|
||||
printf "${NOTE} XDG-desktop-portal-KDE & GNOME (if installed) should be manually disabled or removed! I can't remove it... sorry...\n"
|
||||
while true; do
|
||||
read -rp "${CAT} Would you like to try to remove other XDG-Desktop-Portal-Implementations? (y/n) " XDPH1
|
||||
read -p "${CAT} Would you like to try to remove other XDG-Desktop-Portal-Implementations? (y/n): " XDPH1
|
||||
echo
|
||||
sleep 1
|
||||
|
||||
|
||||
@ -238,7 +238,7 @@ printf "\n${NOTE} You can start Hyprland by typing Hyprland (IF SDDM is not inst
|
||||
printf "\n"
|
||||
printf "\n${NOTE} It is highly recommended to reboot your system.\n\n"
|
||||
|
||||
read -rp "${CAT} Would you like to reboot now? (y/n): " HYP
|
||||
read -p "${CAT} Would you like to reboot now? (y/n): " HYP
|
||||
|
||||
if [[ "$HYP" =~ ^[Yy]$ ]]; then
|
||||
if [[ "$nvidia" == "Y" ]]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user