diff --git a/usr/local/bin/snigdhaos-fixes b/usr/local/bin/snigdhaos-fixes new file mode 100644 index 0000000..f6ec812 --- /dev/null +++ b/usr/local/bin/snigdhaos-fixes @@ -0,0 +1,32 @@ +#!/bin/bash +# set -e + +# Author : Eshan Roy +# Author URL : https://eshanized.github.io/ + +echo +echo "--->> Start snigdhaos-fixes <<---" +echo + +desktop=$(ls /usr/share/xsessions/) +echo +echo "Your Current Desktop: "$desktop +echo + +# Let's make some cases +case $desktop in + ukui.desktop) + echo "Found : Lightm [STATUS: ACTIVE]" + pacman -S sddm --noconfirm --needed + systemctl enable sddm.service -f + ;; + deepin.desktop) + echo "Found : Lightm [STATUS: ACTIVE]" + pacman -S sddm --noconfirm --needed + systemctl enable sddm.service -f + ;; + *) + echo "Nothing To Do!!!" +esac + +