From ab94663128408bd79aec7d7c667986d2b27eb76e Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 16 Jul 2024 23:11:27 +0200 Subject: [PATCH] Streamline `minegrub-theme` installation --- scripts/Arch/OS/install.fish | 3 +++ scripts/Arch/Software/minegrub-theme/main.fish | 13 +++++++++++++ scripts/Common/Software/minegrub-theme/main.fish | 11 +++++++++++ 3 files changed, 27 insertions(+) create mode 100644 scripts/Arch/Software/minegrub-theme/main.fish create mode 100644 scripts/Common/Software/minegrub-theme/main.fish diff --git a/scripts/Arch/OS/install.fish b/scripts/Arch/OS/install.fish index 7669195c..3745fc91 100644 --- a/scripts/Arch/OS/install.fish +++ b/scripts/Arch/OS/install.fish @@ -45,6 +45,9 @@ begin source "$dir/../Software/vim/main.fish" source "$dir/../Software/git/main.fish" source "$dir/../Software/zoxide/main.fish" + + # GRUB Shenanigans - if that's not an essential I don't know what is! + source "$dir/../Software/minegrub-theme/main.fish"; end if collectionActive common diff --git a/scripts/Arch/Software/minegrub-theme/main.fish b/scripts/Arch/Software/minegrub-theme/main.fish new file mode 100644 index 00000000..2e9cbb93 --- /dev/null +++ b/scripts/Arch/Software/minegrub-theme/main.fish @@ -0,0 +1,13 @@ +#!/bin/env fish +begin + set -l dir (status dirname) + source "$dir/../../Scripts/software.fish" + source "$dir/../../../Common/Software/minegrub-theme/main.fish" + + function installSW + yayinst grub-theme-minegrub-git + configureSW + end + + runInstaller $argv +end diff --git a/scripts/Common/Software/minegrub-theme/main.fish b/scripts/Common/Software/minegrub-theme/main.fish new file mode 100644 index 00000000..d5b671f9 --- /dev/null +++ b/scripts/Common/Software/minegrub-theme/main.fish @@ -0,0 +1,11 @@ +#!/bin/env fish +begin + set -l dir (status dirname) + source "$dir/../../Scripts/software.fish" + + function configureSW -V dir + source "$dir/../GRUB/main.fish" configure + end + + runInstaller $argv +end