scripts

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit c4a75520cdc77c5affea9b062c99017868490fc7
parent 507b2d975ab3127b57b649b9f2c6f8c90f79b669
Author: Andrew Laack <andrew@laack.co>
Date:   Thu, 19 Feb 2026 02:22:46 -0600

Created public and private installation scripts for arch

Diffstat:
Dinstallers/arch-full.sh | 41-----------------------------------------
Ainstallers/arch-private-installation.sh | 16++++++++++++++++
Ainstallers/arch-public-installation.sh | 45+++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 61 insertions(+), 41 deletions(-)

diff --git a/installers/arch-full.sh b/installers/arch-full.sh @@ -1,41 +0,0 @@ -#!/bin/bash -# Full arch installer - -sudo pacman -S git gcc make xorg-server libxft libxinerama freetype2 pkgconf ttf-fira-code zoxide fzf openssh less arandr dmenu pass pass-otp xclip proton-vpn-gtk-app newsboat xorg-xsetroot base-devel i3lock pandoc zathura entr ripgrep wget - -# TODO: Make loops and such to make this shorter / reuse boilerplate stuff - -mkdir gitRepos -cd gitRepos - -git clone https://git.laack.co/andrew/dwm -cd dwm -sudo make install - -git clone https://git.laack.co/andrew/dmenu -cd dmenu -sudo make install - -git clone https://git.laack.co/andrew/st -cd st -sudo make install - -cd .. -git clone https://git.laack.co/andrew/scripts bin -git clone https://git.laack.co/andrew/dotfiles .config - -git clone --depth 1 https://github.com/wbthomason/packer.nvim ~/.local/share/nvim/site/pack/packer/start/packer.nvim -git clone https://git.laack.co/andrew/nvim .config/nvim - - -# setup symlinks -# xinitrc -# bashrc -# inputrs - -# UPDATE DOTFILES LOCATIONS - -git clone https://aur.archlinux.org/yay.git -cd yay -makepkg -si -yay -S librewolf-bin diff --git a/installers/arch-private-installation.sh b/installers/arch-private-installation.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +cd ~/gitRepos + +for REPO in keys personal-notes passwords; do + git clone ssh://brgr:/srv/git/private-repos/$REPO +done + +gpg --import gitRepos/keys/passwords/public-key.asc +gpg --import gitRepos/keys/passwords/private-key.asc + +echo "default-cache-ttl 288000" > ~/.gnupg/gpg-agent.conf +echo "max-cache-ttl 288000">> ~/.gnupg/gpg-agent.conf + +git config --global user.email "andrew@laack.co" +git config --global user.name "Andrew Laack" diff --git a/installers/arch-public-installation.sh b/installers/arch-public-installation.sh @@ -0,0 +1,45 @@ +#!/bin/bash +# Full arch installer (publicly accessible resources only) + +sudo pacman -S git gcc make xorg-server libxft libxinerama freetype2 pkgconf ttf-fira-code zoxide fzf openssh less arandr dmenu pass pass-otp xclip newsboat xorg-xsetroot base-devel i3lock pandoc zathura entr ripgrep wget jq man-db btop tmux + +mkdir gitRepos +cd gitRepos + +# Get all of my public repos, parse the urls for cloning. +REPOS=$(curl -X 'GET' 'https://git.laack.co/api/v1/repos/search?limit=100000' -H 'accept: application/json' | jq | grep clone_url | awk '{print $2}' | sed 's/\"/ /g' | sed 's/,/ /g') + +for REPO in $REPOS; do + git clone $REPO +done + +mv scripts bin + +# INSTALLATION SUCKLESS UTILS +for REPO in dwm dmenu st; do + cd $REPO + sudo make install + cd .. +done + +# EXTERNAL REPOS +git clone --depth 1 https://github.com/wbthomason/packer.nvim ~/.local/share/nvim/site/pack/packer/start/packer.nvim +git clone https://aur.archlinux.org/yay.git + +cd yay +makepkg -si +yay -S librewolf-bin + +# RELOCATION OF SELECT REPOS +mv ~/gitRepos/dotfiles ~/.config +mv ~/gitRepose/nvim ~/.config/nvim + +# SETUP SYMLINKS (GITREPOS IS SOURCE OF TRUTH) +ln -s ~/gitRepos/dotfiles ~/.config +ln -s ~/gitRepos/bin ~/bin + +for FILE in bashrc xinitrc inputrc ; do + ln -s .config/$FILE .$FILE +done + +echo "Time to open neovim and run :PackerSync a thousand times!"