From c612c4c751c80d6120127b6fa8427dfa7001ea1a Mon Sep 17 00:00:00 2001 From: clement-dufour Date: Fri, 9 Aug 2024 23:17:22 +0200 Subject: [PATCH] Change plymouth theme to bgrt-better-luks (AUR) --- Containerfile | 1 + files/etc/plymouth/plymouthd.conf | 2 + .../bgrt-better-luks.plymouth | 65 +++++++++++++++++++ 3 files changed, 68 insertions(+) create mode 100644 files/etc/plymouth/plymouthd.conf create mode 100644 files/usr/share/plymouth/themes/bgrt-better-luks/bgrt-better-luks.plymouth diff --git a/Containerfile b/Containerfile index d5d1e7e..39c7c54 100644 --- a/Containerfile +++ b/Containerfile @@ -3,6 +3,7 @@ FROM quay.io/fedora-ostree-desktops/silverblue:40 COPY files / RUN \ + rpm-ostree cliwrap install-to-root / && \ mkdir -p /var/lib/alternatives && \ rpm-ostree uninstall \ firefox \ diff --git a/files/etc/plymouth/plymouthd.conf b/files/etc/plymouth/plymouthd.conf new file mode 100644 index 0000000..b2cd671 --- /dev/null +++ b/files/etc/plymouth/plymouthd.conf @@ -0,0 +1,2 @@ +[Daemon] +Theme=bgrt-better-luks diff --git a/files/usr/share/plymouth/themes/bgrt-better-luks/bgrt-better-luks.plymouth b/files/usr/share/plymouth/themes/bgrt-better-luks/bgrt-better-luks.plymouth new file mode 100644 index 0000000..10aa81b --- /dev/null +++ b/files/usr/share/plymouth/themes/bgrt-better-luks/bgrt-better-luks.plymouth @@ -0,0 +1,65 @@ +[Plymouth Theme] +Name=BGRT-better-luks +Description=Jimmac's spinner theme using the ACPI BGRT graphics as background with a couple small tweaks from juxuanu to show the LUKS passphrase prompt under the OEM logo. +ModuleName=two-step + +[two-step] +Font=Cantarell 12 +TitleFont=Cantarell Light 30 +ImageDir=/usr/share/plymouth/themes//spinner +DialogHorizontalAlignment=.5 +DialogVerticalAlignment=.7 +TitleHorizontalAlignment=.5 +TitleVerticalAlignment=.382 +HorizontalAlignment=.5 +VerticalAlignment=.7 +WatermarkHorizontalAlignment=.5 +WatermarkVerticalAlignment=.96 +Transition=none +TransitionDuration=0.0 +BackgroundStartColor=0x000000 +BackgroundEndColor=0x000000 +ProgressBarBackgroundColor=0x606060 +ProgressBarForegroundColor=0xffffff +DialogClearsFirmwareBackground=false +MessageBelowAnimation=true + +[boot-up] +UseEndAnimation=false +UseFirmwareBackground=true + +[shutdown] +UseEndAnimation=false +UseFirmwareBackground=true + +[reboot] +UseEndAnimation=false +UseFirmwareBackground=true + +[updates] +SuppressMessages=true +ProgressBarShowPercentComplete=true +UseProgressBar=true +Title=Installing Updates... +SubTitle=Do not turn off your computer + +[system-upgrade] +SuppressMessages=true +ProgressBarShowPercentComplete=true +UseProgressBar=true +Title=Upgrading System... +SubTitle=Do not turn off your computer + +[firmware-upgrade] +SuppressMessages=true +ProgressBarShowPercentComplete=true +UseProgressBar=true +Title=Upgrading Firmware... +SubTitle=Do not turn off your computer + +[system-reset] +SuppressMessages=true +ProgressBarShowPercentComplete=true +UseProgressBar=true +Title=Resetting System... +SubTitle=Do not turn off your computer