From f2e76f604559871b739b43098ff4fecaf34c3a19 Mon Sep 17 00:00:00 2001 From: Stephan Raabe Date: Mon, 3 Jun 2024 13:34:49 +0200 Subject: [PATCH] Updates --- .install/displaymanager.sh | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.install/displaymanager.sh b/.install/displaymanager.sh index 41cf49e..782c83f 100755 --- a/.install/displaymanager.sh +++ b/.install/displaymanager.sh @@ -2,6 +2,7 @@ # Disable display manager # ------------------------------------------------------ disman=0 +profile="Hyprland" echo -e "${GREEN}" figlet "Display Manager" echo -e "${NONE}" @@ -65,7 +66,7 @@ if [ "$dmsel" == "Install sddm and theme" ] ;then disman=0 # Try to force the installation of sddm echo ":: Install sddm and Sugar Candy Thema" - yay -S --noconfirm sddm sddm-sugar-candy-git --ask 4 + yay -S --noconfirm sddm --ask 4 if [ -f /etc/systemd/system/display-manager.service ]; then sudo rm /etc/systemd/system/display-manager.service @@ -80,6 +81,19 @@ if [ "$dmsel" == "Install sddm and theme" ] ;then sudo cp sddm/sddm.conf /etc/sddm.conf.d/ echo ":: File /etc/sddm.conf.d/sddm.conf updated." + if [ ! -f /usr/share/sddm/themes/sugar-candy/theme.conf ]; then + if [ -f ~/Downloads/sddm-sugar-candy-master.zip ] ;then + rm ~/Downloads/sddm-sugar-candy-master.zip + fi + wget -P ~/Downloads/ https://framagit.org/MarianArlt/sddm-sugar-candy/-/archive/master/sddm-sugar-candy-master.zip + unzip -o -q ~/Downloads/sddm-sugar-candy-master.zip -d ~/Downloads/ + if [ ! -d /usr/share/sddm/themes/sugar-candy ] ;then + sudo mkdir -p /usr/share/sddm/themes/sugar-candy + fi + sudo cp -r ~/Downloads/sddm-sugar-candy-master/* /usr/share/sddm/themes/sugar-candy + echo ":: SDDM Sugar Candy Theme installed" + fi + if [ -f /usr/share/sddm/themes/sugar-candy/theme.conf ]; then # Cache file for holding the current wallpaper