42 lines
1.4 KiB
Plaintext
42 lines
1.4 KiB
Plaintext
|
#!/bin/bash
|
||
|
#set -e
|
||
|
###############################################################################
|
||
|
# Author : Erik Dubois
|
||
|
# Website : https://www.erikdubois.be
|
||
|
# Website : https://www.arcolinux.info
|
||
|
# Website : https://www.arcolinux.com
|
||
|
# Website : https://www.arcolinuxd.com
|
||
|
# Website : https://www.arcolinuxb.com
|
||
|
# Website : https://www.arcolinuxiso.com
|
||
|
# Website : https://www.arcolinuxforum.com
|
||
|
###############################################################################
|
||
|
#
|
||
|
# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK.
|
||
|
#
|
||
|
###############################################################################
|
||
|
|
||
|
package=ly
|
||
|
if pacman -Qs $package > /dev/null ; then
|
||
|
ln -sf /usr/lib/systemd/system/ly.service /etc/systemd/system/display-manager.service
|
||
|
fi
|
||
|
|
||
|
package=sddm
|
||
|
if pacman -Qs $package > /dev/null ; then
|
||
|
ln -sf /usr/lib/systemd/system/sddm.service /etc/systemd/system/display-manager.service
|
||
|
fi
|
||
|
|
||
|
package=gdm
|
||
|
if pacman -Qs $package > /dev/null ; then
|
||
|
ln -sf /usr/lib/systemd/system/gdm.service /etc/systemd/system/display-manager.service
|
||
|
fi
|
||
|
|
||
|
package=lxdm
|
||
|
if pacman -Qs $package > /dev/null ; then
|
||
|
ln -sf /usr/lib/systemd/system/lxdm.service /etc/systemd/system/display-manager.service
|
||
|
fi
|
||
|
|
||
|
package=lightdm
|
||
|
if pacman -Qs $package > /dev/null ; then
|
||
|
ln -sf /usr/lib/systemd/system/lightdm.service /etc/systemd/system/display-manager.service
|
||
|
fi
|