diff --git a/bin/omarchy-refresh-sddm b/bin/omarchy-refresh-sddm new file mode 100755 index 00000000..473bb3ee --- /dev/null +++ b/bin/omarchy-refresh-sddm @@ -0,0 +1,6 @@ +#!/bin/bash + +# Refresh the SDDM theme from default + +sudo rm -rf /usr/share/sddm/themes/omarchy +sudo cp -r $OMARCHY_PATH/default/sddm/omarchy /usr/share/sddm/themes/omarchy diff --git a/install/login/sddm.sh b/install/login/sddm.sh index 51be2dfb..273a6c7b 100644 --- a/install/login/sddm.sh +++ b/install/login/sddm.sh @@ -1,9 +1,8 @@ -sudo mkdir -p /etc/sddm.conf.d - # Install omarchy SDDM theme -sudo rm -rf /usr/share/sddm/themes/omarchy -sudo cp -r $OMARCHY_PATH/default/sddm/omarchy /usr/share/sddm/themes/omarchy +omarchy-refresh-sddm +# Setup SDDM login service +sudo mkdir -p /etc/sddm.conf.d if [[ ! -f /etc/sddm.conf.d/autologin.conf ]]; then cat <