From f14de70a6a2b5d799e2a6f4304d5a63ee69018c5 Mon Sep 17 00:00:00 2001 From: Guru Swarupa <112751363+guruswarupa@users.noreply.github.com> Date: Thu, 19 Sep 2024 22:51:40 +0530 Subject: [PATCH] added grub themes script (#493) * added grub themes script * Update tab_data.toml * Update tabs/system-setup/7-grub-theme.sh Co-authored-by: Nyx <144965845+nnyyxxxx@users.noreply.github.com> * Update tabs/system-setup/7-grub-theme.sh Co-authored-by: Nyx <144965845+nnyyxxxx@users.noreply.github.com> * Update 7-grub-theme.sh * Update tabs/system-setup/7-grub-theme.sh Co-authored-by: Adam Perkowski --------- Co-authored-by: Nyx <144965845+nnyyxxxx@users.noreply.github.com> Co-authored-by: Chris Titus Co-authored-by: Adam Perkowski --- tabs/system-setup/7-grub-theme.sh | 13 +++++++++++++ tabs/system-setup/tab_data.toml | 7 ++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 tabs/system-setup/7-grub-theme.sh diff --git a/tabs/system-setup/7-grub-theme.sh b/tabs/system-setup/7-grub-theme.sh new file mode 100644 index 00000000..1e860576 --- /dev/null +++ b/tabs/system-setup/7-grub-theme.sh @@ -0,0 +1,13 @@ +#!/bin/sh -e +. ../common-script.sh + +themeinstall(){ + mkdir -p "$HOME/.local/share" + cd "$HOME/.local/share" && git clone "https://github.com/ChrisTitusTech/Top-5-Bootloader-Themes" + cd "$HOME/.local/share/Top-5-Bootloader-Themes" + "$ESCALATION_TOOL" ./install.sh +} + +checkEnv +checkEscalationTool +themeinstall diff --git a/tabs/system-setup/tab_data.toml b/tabs/system-setup/tab_data.toml index 4eabb4d5..e105139c 100644 --- a/tabs/system-setup/tab_data.toml +++ b/tabs/system-setup/tab_data.toml @@ -89,4 +89,9 @@ script = "5-samba-ssh-setup.sh" [[data]] name = "Docker Setup" -script = "6-docker-setup.sh" \ No newline at end of file +script = "6-docker-setup.sh" + +[[data]] +name = "Grub Theme Setup" +script = "7-grub-theme.sh" +