Install scripts
This commit is contained in:
parent
007180b568
commit
0528f163ff
21
dotfiles-old/scripts/README.txt
Normal file
21
dotfiles-old/scripts/README.txt
Normal 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
|
7
dotfiles-old/scripts/bootstrap.txt
Normal file
7
dotfiles-old/scripts/bootstrap.txt
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
bash
|
||||||
|
coreutils
|
||||||
|
gcc
|
||||||
|
git
|
||||||
|
less
|
||||||
|
make
|
||||||
|
nano
|
4
dotfiles-old/scripts/cdecho.sh
Normal file
4
dotfiles-old/scripts/cdecho.sh
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
cde() {
|
||||||
|
cd $1
|
||||||
|
printf "Entered %s.\n" $(pwd)
|
||||||
|
}
|
42
dotfiles-old/scripts/dotfiles.sh
Normal file
42
dotfiles-old/scripts/dotfiles.sh
Normal 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
|
7
dotfiles-old/scripts/packages-arch-pacman.txt
Normal file
7
dotfiles-old/scripts/packages-arch-pacman.txt
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
iw
|
||||||
|
iwd
|
||||||
|
iwgtk
|
||||||
|
jre11-openjdk
|
||||||
|
jre8-openjdk
|
||||||
|
lastpass-cli
|
||||||
|
python-pip
|
11
dotfiles-old/scripts/packages-arch-yay.txt
Normal file
11
dotfiles-old/scripts/packages-arch-yay.txt
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
doas
|
||||||
|
google-chrome
|
||||||
|
gzdoom
|
||||||
|
i3-gaps
|
||||||
|
i3-swallow
|
||||||
|
minecraft-launcher
|
||||||
|
moon-buggy
|
||||||
|
spotify
|
||||||
|
steam
|
||||||
|
tor-browser
|
||||||
|
zoom
|
1
dotfiles-old/scripts/packages-debian-apt.txt
Normal file
1
dotfiles-old/scripts/packages-debian-apt.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
build-essential
|
1
dotfiles-old/scripts/packages-pip.txt
Normal file
1
dotfiles-old/scripts/packages-pip.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
youtube-dl
|
35
dotfiles-old/scripts/packages.txt
Normal file
35
dotfiles-old/scripts/packages.txt
Normal 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
|
10
dotfiles-old/scripts/yay.sh
Normal file
10
dotfiles-old/scripts/yay.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user