#!/bin/bash

# Overwrite the user config for the Plymouth drive decryption and boot sequence with the Nomarchy default and rebuild it.

sudo cp ~/.local/share/nomarchy/default/plymouth/* /usr/share/plymouth/themes/nomarchy/
sudo plymouth-set-default-theme nomarchy

if command -v limine-mkinitcpio &>/dev/null; then
  sudo limine-mkinitcpio
else
  sudo mkinitcpio -P
fi
