minor tweak sddm.sh
This commit is contained in:
@@ -62,7 +62,7 @@ while [ "$valid_input" != true ]; do
|
|||||||
read -n 1 -r -p "${CAT} OPTIONAL - Would you like to install ${YELLOW}additional SDDM themes?${RESET} (y/n)" install_sddm_theme
|
read -n 1 -r -p "${CAT} OPTIONAL - Would you like to install ${YELLOW}additional SDDM themes?${RESET} (y/n)" install_sddm_theme
|
||||||
fi
|
fi
|
||||||
if [[ $install_sddm_theme =~ ^[Yy]$ ]]; then
|
if [[ $install_sddm_theme =~ ^[Yy]$ ]]; then
|
||||||
printf "\n%s - Installing ${SKY_BLUE}Simple SDDM Theme${RESET}\n" "${NOTE}"
|
printf "\n%s - Installing ${BLUE}Additional SDDM Theme${RESET}\n" "${NOTE}"
|
||||||
|
|
||||||
# Check if /usr/share/sddm/themes/sequoia_2 exists and remove if it does
|
# Check if /usr/share/sddm/themes/sequoia_2 exists and remove if it does
|
||||||
if [ -d "/usr/share/sddm/themes/sequoia_2" ]; then
|
if [ -d "/usr/share/sddm/themes/sequoia_2" ]; then
|
||||||
@@ -94,7 +94,7 @@ while [ "$valid_input" != true ]; do
|
|||||||
sudo sed -i 's|^wallpaper=".*"|wallpaper="backgrounds/default"|' /usr/share/sddm/themes/sequoia_2/theme.conf
|
sudo sed -i 's|^wallpaper=".*"|wallpaper="backgrounds/default"|' /usr/share/sddm/themes/sequoia_2/theme.conf
|
||||||
|
|
||||||
else
|
else
|
||||||
echo -e "\e[1A\e[K${ERROR} - Failed to clone the theme repository. Please check your internet connection" | tee -a "$LOG" >&2
|
echo -e "\e[1A\e[K${ERROR} - Failed to clone the sddm theme repository. Please check your internet connection" | tee -a "$LOG" >&2
|
||||||
fi
|
fi
|
||||||
valid_input=true
|
valid_input=true
|
||||||
elif [[ $install_sddm_theme =~ ^[Nn]$ ]]; then
|
elif [[ $install_sddm_theme =~ ^[Nn]$ ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user