mirror of
https://github.com/Snigdha-OS/snigdhaos-system-installation.git
synced 2025-09-21 13:54:56 +02:00
@eshanized: push via push.sh!!!
This commit is contained in:
32
usr/local/bin/snigdhaos-fixes
Normal file
32
usr/local/bin/snigdhaos-fixes
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# set -e
|
||||||
|
|
||||||
|
# Author : Eshan Roy <eshan@snigdhaos.or>
|
||||||
|
# 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
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user