
_conf="/etc/lightdm/slick-greeter.conf"

post_install() {
    cp ${_conf} ${_conf}.bak
    WALLPAPER=manjaro-dog.jpg
    sed -i "/background\=/c\background\=\/usr\/share\/backgrounds\/manjaro-wallpapers-18.0\/${WALLPAPER}" ${_conf}
    # use sed to change theme-name
    # use sed to change icon-theme
}

post_remove() {
    rm -f ${_conf}
    mv ${_conf}.bak ${_conf}
}
