summarylogtreecommitdiffstats
path: root/slick-greeter.install
blob: 802194ca7f63f05a30dcea2a1ed952034c3fff05 (plain)
1
2
3
4
5
6
7
8
9
10
11
post_install() {
    echo ":: Backup lightdm.conf"
    cp /etc/lightdm/lightdm.conf /etc/lightdm/lightdm.conf.save
    echo ":: Set slick greeter as greeter session"
    sed -i '/greeter-session=/c\greeter-session=lightdm-slick-greeter' /etc/lightdm/lightdm.conf
}

post_remove() {
    echo ":: Restoring previous lightdm.conf"
    mv /etc/lightdm/lightdm.conf.save /etc/lightdm/lightdm.conf
}