remove greetd from aur-install since it has its own script

master
Alex 2023-02-12 00:04:48 -06:00
parent b0e94c0727
commit 502e280deb
2 changed files with 3 additions and 15 deletions

View File

@ -18,5 +18,3 @@ shellcheck-bin
librewolf-bin librewolf-bin
pipe-viewer-git pipe-viewer-git
lobster lobster
greetd
greetd-tuigreet

View File

@ -12,19 +12,6 @@ yay_install() {
makepkg -si 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() { pkg_install() {
aurprogs="$(cat "$AUR_PROGS_FILE")" aurprogs="$(cat "$AUR_PROGS_FILE")"
for pkg in $aurprogs for pkg in $aurprogs
@ -39,9 +26,12 @@ if [ -f "$AUR_PROGS_FILE" ]; then
pkg_install pkg_install
greetd_config
else else
greetd_config
echo "enter file containing package names to install separated by newlines as first input argument" && exit echo "enter file containing package names to install separated by newlines as first input argument" && exit
fi fi