1
0

Install scripts

This commit is contained in:
devenblake 2020-12-30 20:28:46 -05:00
parent 007180b568
commit 0528f163ff
10 changed files with 139 additions and 0 deletions

View File

@ -0,0 +1,21 @@
#!/bin/bash
set -e
# dotfiles/scripts
# Basic scripts to rebuild a system.
# Usage:
# bash README.txt arch
# bootstrap.txt - bare minimum programs. Necessary for system use.
# Install these before running this script.
# packages.txt - packages available in most package managers.
# packages-distro-manager.txt - packages not available in every manager.
if [ $1 = "arch" ]; then
sudo pacman -S $(cat packages.txt packages-arch-pacman.txt)
bash yay.sh # builds yay for use with Arch Linux.
yay -S $(cat packages-arch-yay)
fi
bash dotfiles.sh

View File

@ -0,0 +1,7 @@
bash
coreutils
gcc
git
less
make
nano

View File

@ -0,0 +1,4 @@
cde() {
cd $1
printf "Entered %s.\n" $(pwd)
}

View File

@ -0,0 +1,42 @@
#!/bin/bash
# could be more succinct in places but it works
source ./cdecho.sh
# retrieve dotfiles
cde $HOME/src
git clone https://github.com/devenblake/dotfiles.git
cde dotfiles
# unscii
curl http://pelulamu.net/unscii/unscii-16-full.ttf -o $HOME/.local/share/fonts/unscii-16-full.ttf
fc-cache
# basic configs
cp {.Xresources,.aliases,.bashrc,.profile} $HOME/
# dmenu
cde $HOME/src
git clone https://git.suckless.org/dmenu
cde dmenu
cp $HOME/dotfiles/src/dmenu/config.h ./
make
[ "Yes." = $(printf "No.\nYes." | ./dmenu -p "Install dmenu?") ] && sudo make install
# i3wm
mkdir $HOME/.config/i3
mkdir $HOME/.config/i3status
cde $HOME/.config/
cp $HOME/src/dotfiles/.config/i3/config i3/
cp $HOME/src/dotfiles/.config/i3status/config i3status/
# winamp skin (checks to see if audacious is installed first)
sudo mkdir -p /usr/share/audacious/Skins/
which audacious && sudo curl https://archive.org/download/winampskin_Sailor_Moon_Gang/Sailor_Moon_Gang.wsz -o /usr/share/audacious/Skins/Sailor_Moon_Gang.wsz
# wallpaper
mkdir -p $HOME/Pictures/Wallpapers
curl https://ia801502.us.archive.org/3/items/asuka-98/Asuka%2098.jpg -o Pictures/Wallpapers/Asuka\ 98.jpg
xrdb -load .Xresources

View File

@ -0,0 +1,7 @@
iw
iwd
iwgtk
jre11-openjdk
jre8-openjdk
lastpass-cli
python-pip

View File

@ -0,0 +1,11 @@
doas
google-chrome
gzdoom
i3-gaps
i3-swallow
minecraft-launcher
moon-buggy
spotify
steam
tor-browser
zoom

View File

@ -0,0 +1 @@
build-essential

View File

@ -0,0 +1 @@
youtube-dl

View File

@ -0,0 +1,35 @@
audacious
blender
curl
dhcpd
dvdbackup
feh
ffmpeg
firefox
gparted
gwenview
htop
iptables
iputils
k3b
kate
kdenlive
krita
lynx
macchanger
moreutils
mpv
python3
qbittorrent
s-tui
sed
vi
virtualbox
vlc
wget
which
wireshark-cli
xclip
xpdf
xscreensaver
xterm

View File

@ -0,0 +1,10 @@
#!/bin/bash
set -e
source ./cdecho.sh
cde $HOME/src
git clone https://aur.archlinux.org/yay.git
cde yay
makepkg -Si
yay -V