From feb8717eaaabf63d2f06aea683dca997ccbd4fd8 Mon Sep 17 00:00:00 2001 From: guruswarupa Date: Thu, 19 Sep 2024 08:57:02 +0530 Subject: [PATCH 1/6] added grub themes script --- tabs/system-setup/7-grub-theme.sh | 12 ++++++++++++ tabs/system-setup/tab_data.toml | 4 ++++ 2 files changed, 16 insertions(+) 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 000000000..428ef552b --- /dev/null +++ b/tabs/system-setup/7-grub-theme.sh @@ -0,0 +1,12 @@ +#!/bin/sh -e +. ../common-script.sh + +themeinstall(){ + cd "$HOME" && git clone "https://github.com/ChrisTitusTech/Top-5-Bootloader-Themes" + cd "Top-5-Bootloader-Themes" + $ESCALATION_TOOL ./install.sh +} + +checkEnv +checkEscalationTool +themeinstall \ No newline at end of file diff --git a/tabs/system-setup/tab_data.toml b/tabs/system-setup/tab_data.toml index 6743da3c7..e72cb4c59 100644 --- a/tabs/system-setup/tab_data.toml +++ b/tabs/system-setup/tab_data.toml @@ -51,3 +51,7 @@ script = "3-global-theme.sh" [[data]] name = "Remove Snaps" script = "4-remove-snaps.sh" + +[[data]] +name = "Grub Theme Setup" +script = "7-grub-theme.sh" \ No newline at end of file From a85f1be5d923f32702ec445dd59effbe135387d2 Mon Sep 17 00:00:00 2001 From: Guru Swarupa <112751363+guruswarupa@users.noreply.github.com> Date: Thu, 19 Sep 2024 19:05:04 +0530 Subject: [PATCH 2/6] Update tab_data.toml --- tabs/system-setup/tab_data.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/tabs/system-setup/tab_data.toml b/tabs/system-setup/tab_data.toml index 7d7c41b8d..e105139c7 100644 --- a/tabs/system-setup/tab_data.toml +++ b/tabs/system-setup/tab_data.toml @@ -83,6 +83,7 @@ name = "Remove Snaps" description = "This script is designed to remove snap" script = "4-remove-snaps.sh" +[[data]] name = "SSH-Samba Setup" script = "5-samba-ssh-setup.sh" From 51950db183896bea3377df9963effe9b8c0d4ecb Mon Sep 17 00:00:00 2001 From: Guru Swarupa <112751363+guruswarupa@users.noreply.github.com> Date: Thu, 19 Sep 2024 19:08:50 +0530 Subject: [PATCH 3/6] Update tabs/system-setup/7-grub-theme.sh Co-authored-by: Nyx <144965845+nnyyxxxx@users.noreply.github.com> --- tabs/system-setup/7-grub-theme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabs/system-setup/7-grub-theme.sh b/tabs/system-setup/7-grub-theme.sh index 428ef552b..cd5e3ae37 100644 --- a/tabs/system-setup/7-grub-theme.sh +++ b/tabs/system-setup/7-grub-theme.sh @@ -2,7 +2,7 @@ . ../common-script.sh themeinstall(){ - cd "$HOME" && git clone "https://github.com/ChrisTitusTech/Top-5-Bootloader-Themes" + cd "$HOME/.local/share" && git clone "https://github.com/ChrisTitusTech/Top-5-Bootloader-Themes" cd "Top-5-Bootloader-Themes" $ESCALATION_TOOL ./install.sh } From ee246b384a0dd183194a72f806cf67bb8d7bdc12 Mon Sep 17 00:00:00 2001 From: Guru Swarupa <112751363+guruswarupa@users.noreply.github.com> Date: Thu, 19 Sep 2024 19:12:04 +0530 Subject: [PATCH 4/6] Update tabs/system-setup/7-grub-theme.sh Co-authored-by: Nyx <144965845+nnyyxxxx@users.noreply.github.com> --- tabs/system-setup/7-grub-theme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabs/system-setup/7-grub-theme.sh b/tabs/system-setup/7-grub-theme.sh index cd5e3ae37..d587201a6 100644 --- a/tabs/system-setup/7-grub-theme.sh +++ b/tabs/system-setup/7-grub-theme.sh @@ -3,7 +3,7 @@ themeinstall(){ cd "$HOME/.local/share" && git clone "https://github.com/ChrisTitusTech/Top-5-Bootloader-Themes" - cd "Top-5-Bootloader-Themes" + cd "$HOME/.local/share/Top-5-Bootloader-Themes" $ESCALATION_TOOL ./install.sh } From 404cb606a577a4c6d1f0ebad5bf1938394403142 Mon Sep 17 00:00:00 2001 From: Guru Swarupa <112751363+guruswarupa@users.noreply.github.com> Date: Thu, 19 Sep 2024 19:12:30 +0530 Subject: [PATCH 5/6] Update 7-grub-theme.sh --- tabs/system-setup/7-grub-theme.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tabs/system-setup/7-grub-theme.sh b/tabs/system-setup/7-grub-theme.sh index d587201a6..6eaa9f8b6 100644 --- a/tabs/system-setup/7-grub-theme.sh +++ b/tabs/system-setup/7-grub-theme.sh @@ -2,6 +2,7 @@ . ../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 @@ -9,4 +10,4 @@ themeinstall(){ checkEnv checkEscalationTool -themeinstall \ No newline at end of file +themeinstall From 94012880f18d8f8e525332fb7257021e15f10391 Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Thu, 19 Sep 2024 12:21:31 -0500 Subject: [PATCH 6/6] Update tabs/system-setup/7-grub-theme.sh Co-authored-by: Adam Perkowski --- tabs/system-setup/7-grub-theme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabs/system-setup/7-grub-theme.sh b/tabs/system-setup/7-grub-theme.sh index 6eaa9f8b6..1e8605764 100644 --- a/tabs/system-setup/7-grub-theme.sh +++ b/tabs/system-setup/7-grub-theme.sh @@ -5,7 +5,7 @@ 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 + "$ESCALATION_TOOL" ./install.sh } checkEnv