From 4a7813fb745f6cd7887f5944e4837d5f4439af70 Mon Sep 17 00:00:00 2001 From: AngeD Date: Tue, 14 Mar 2023 19:20:27 +0100 Subject: [PATCH] feat: enable systemd-timesyncd, install dwm --- README.md | 5 ++--- base_install.sh => base.sh | 6 ++++-- dwm/install.sh | 6 ++++-- 3 files changed, 10 insertions(+), 7 deletions(-) rename base_install.sh => base.sh (94%) diff --git a/README.md b/README.md index 7a42f89..9a58c9a 100644 --- a/README.md +++ b/README.md @@ -9,15 +9,14 @@ and more! Follow the [Pre-installation](https://wiki.archlinux.org/title/Installation_guide#Pre-installation). Once you chrooted in the system, clone this script ```bash -git clone https://git.maby.dev/ange/archinstall.git /tmp/ai -cd /tmp/ai/ +git clone https://git.maby.dev/ange/archinstall /tmp/ai && cd $_ ``` **Review and edit the `config` file before running any script!** To install the base system, run: ```bash -./base_install.sh +./base.sh ``` If you want a post install script, login as a normal user and run (replace diff --git a/base_install.sh b/base.sh similarity index 94% rename from base_install.sh rename to base.sh index 2cae4cd..2e5fd41 100755 --- a/base_install.sh +++ b/base.sh @@ -21,8 +21,10 @@ echo "$hostname" > /etc/hostname # Packages $PACMAN "${pkg[@]}" -systemctl enable NetworkManager -systemctl enable reflector.timer +systemctl enable \ + NetworkManager \ + reflector.timer \ + systemd-timesyncd if [ -d /sys/module/battery/ ]; then $PACMAN "${laptop_pkg[@]}" diff --git a/dwm/install.sh b/dwm/install.sh index deb3eb6..7256b3b 100755 --- a/dwm/install.sh +++ b/dwm/install.sh @@ -29,6 +29,8 @@ $PACMAN "${pkg[@]}" cp -rf etc /etc -echo -e "${BOLD}${GREEN}DONE. You can reboot.${NORMAL}" +git clone https://git.maby.dev/ange/suckless /tmp/suckless/ +cd $_ +./update.sh -# TODO install dwm +echo -e "${BOLD}${GREEN}DONE. You can reboot.${NORMAL}"