post_install() {
  if command -v systemctl >/dev/null 2>&1; then
    systemctl enable raveos-hyprland-theme-apply.service >/dev/null 2>&1 || true
  fi

  if [[ -x /usr/lib/raveos-hyprland-theme/auto-apply.sh ]]; then
    /usr/lib/raveos-hyprland-theme/auto-apply.sh || true
  fi
}

post_upgrade() {
  post_install
}
