_conf() {
  cp -rf /etc/skel-xfce/. /etc/skel
  rm -rf /etc/skel-xfce
}
_sett() {
  if command -v sddm >/dev/null; then
    sed -i "s/Session=.*/Session=xfce/" /etc/sddm.conf
  fi

  echo "QT_QPA_PLATFORMTHEME=qt5ct" > /etc/environment
  #echo "QT_STYLE_OVERRIDE=kvantum" > /etc/environment
}

post_install() {
  _conf
  _sett
}

post_upgrade() {
  _conf
}
