From 502e280deb1f92bd909bbf8d6153acfd453936b5 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 12 Feb 2023 00:04:48 -0600 Subject: [PATCH] remove greetd from aur-install since it has its own script --- installers/arch/files/aur-programs.list | 2 -- installers/arch/scripts/aur-install.sh | 16 +++------------- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/installers/arch/files/aur-programs.list b/installers/arch/files/aur-programs.list index d763110..7258d9b 100644 --- a/installers/arch/files/aur-programs.list +++ b/installers/arch/files/aur-programs.list @@ -18,5 +18,3 @@ shellcheck-bin librewolf-bin pipe-viewer-git lobster -greetd -greetd-tuigreet diff --git a/installers/arch/scripts/aur-install.sh b/installers/arch/scripts/aur-install.sh index 4a2a062..0df1247 100755 --- a/installers/arch/scripts/aur-install.sh +++ b/installers/arch/scripts/aur-install.sh @@ -12,19 +12,6 @@ yay_install() { makepkg -si } -greetd_config() { - sudo mkdir -p /etc/greetd/ - -GREETD_CONFIG="[terminal] -vt = 1 - -[default_session] -command = \"tuigreet --time --cmd sway\" -user = \"greeter\"" - - sudo sh -c "echo $GREETD_CONFIG > /etc/greetd/config.toml" -} - pkg_install() { aurprogs="$(cat "$AUR_PROGS_FILE")" for pkg in $aurprogs @@ -39,9 +26,12 @@ if [ -f "$AUR_PROGS_FILE" ]; then pkg_install + greetd_config + else + greetd_config echo "enter file containing package names to install separated by newlines as first input argument" && exit fi