summarylogtreecommitdiffstats
path: root/grub-theme-hook.sh
blob: 9e5143bf7abba015db02b18d083c63bcd9e05f0c (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash

echo "Syncing grub themes to /boot ..."
rsync \
  --archive \
  --delete \
  --exclude-from <(pacman -Qlq | grep '/boot/grub' | cut -d '/' -f4- | tail -n+3) \
  /usr/share/grub/themes \
  /boot/grub/