scre.git

ins.sh

espurr
#!/bin/sh
# ins - install software
# Copyright (C) 2024 ArcNyxx <me@arcnyxx.net>
# see LICENCE file for licensing information

# install dwl v0.7 with custom config.h
git clone 'https://codeberg.org/dwl/dwl'
cp config.h dwl
cd dwl
git checkout v0.7-rc1
rd make install
cd "$OLDPWD"
rm -rf dwl

# install config files
mkdir -p ~/.config/nvim
cp init.vim ~/.config/nvim

mkdir -p ~/.config/git
cp gitrc ~/.config/git/config

cp profile.sh ~/.profile
cp env.sh "$ENV" # may need to exit after first .profile install

# install scripts
rd cp bean.sh /usr/local/bin/bean
rd cp prawn.sh /usr/local/bin/prawn
rd cp rs.sh /usr/local/bin/rs
rd cp sman.sh /usr/local/bin/sman
rd cp sp.sh /usr/local/bin/sp
rd cp which.sh /usr/local/bin/which