Initial commit. Setup scripts

main
Ian Mancini 5 years ago
commit 844bb53f02

43
.gitignore vendored

@ -0,0 +1,43 @@
# Created by https://www.gitignore.io/api/vim,linux
# Edit at https://www.gitignore.io/?templates=vim,linux
### Linux ###
*~
# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*
# KDE directory preferences
.directory
# Linux trash folder which might appear on any partition or disk
.Trash-*
# .nfs files are created when an open file is removed but is still being accessed
.nfs*
### Vim ###
# Swap
[._]*.s[a-v][a-z]
[._]*.sw[a-p]
[._]s[a-rt-v][a-z]
[._]ss[a-gi-z]
[._]sw[a-p]
# Session
Session.vim
Sessionx.vim
# Temporary
.netrwhist
# Auto-generated tag files
tags
# Persistent undo
[._]*.un~
# Coc configuration directory
.vim
# End of https://www.gitignore.io/api/vim,linux

@ -0,0 +1,43 @@
#!/bin/sh
set -Eeuo pipefail
if (( $EUID != 0 )); then
echo "Should be run as root"
exit 1
fi
# Setup pacman
read -p ":: Run setup_pacman? [y/N] " setuppacman
setuppacman=${setuppacman:-N}
if [[ $setuppacman =~ [yY] ]]; then
source "./setup_pacman"
fi
DEFAULT_STATE="on"
files=""
for file in $(ls packages); do
files="${files}${file} ${file} ${DEFAULT_STATE} "
done
answers=$(dialog --no-tags --stdout --checklist "select group of packages to install" 0 0 15 $files)
if [ $? = 1 ]; then
printf "\n\nAborting...\n"
exit 1
fi
printf "\n\nSelected groups: $answers\n\n"
packages=""
for answer in $answers; do
p=$(cat ./packages/$answer)
packages="${packages}${p} "
done
printf "packages: $packages\n\n"
sudo pacman -Syu $packages

@ -0,0 +1 @@
unzip zip unrar p7zip xarchiver

@ -0,0 +1 @@
arduino arduino-docs arduino-avr-core

@ -0,0 +1 @@
avahi nss-mdns

@ -0,0 +1 @@
bash bash-completion

@ -0,0 +1 @@
kicad kicad-library

@ -0,0 +1 @@
base base-devel linux linux-firmware

@ -0,0 +1 @@
neovim git git-lfs the_silver_searcher python-pynvim wmctrl

@ -0,0 +1 @@
zathura zathura-pdf-mupdf zathura-cb

@ -0,0 +1 @@
ranger nnn pcmanfm gvfs

@ -0,0 +1 @@
tamsyn-font dina-font ttf-dejavu ttf-liberation adobe-source-sans-pro-fonts adobe-source-code-pro-fonts ttf-ubuntu-font-family ttf-fira-sans noto-fonts-emoji

@ -0,0 +1 @@
filezilla

@ -0,0 +1 @@
gnupg pinentry

@ -0,0 +1 @@
mesa xf86-video-amdgpu vulkan-radeon libva-mesa-driver mesa-vdpau lib32-mesa lib32-vulkan-radeon lib32-libva-mesa-driver lib32-mesa-vdpau

@ -0,0 +1 @@
bumblebee bbswitch mesa primus lib32-virtualgl lib32-nvidia-utils lib32-primus

@ -0,0 +1 @@
grub efibootmgr

@ -0,0 +1 @@
dmenu rofi i3-gaps i3status

@ -0,0 +1 @@
imagemagick gimp krita

@ -0,0 +1 @@
texlive-most biber

@ -0,0 +1 @@
networkmanager

@ -0,0 +1 @@
libreoffice

@ -0,0 +1 @@
cups cups-pdf gtk3-print-backends

@ -0,0 +1 @@
processing jdk8-openjdk jre8-openjdk

@ -0,0 +1 @@
pulseaudio pulseaudio-alsa pulseaudio-bluetooth pavucontrol

@ -0,0 +1 @@
python python-pipenv pyenv python-jedi flake8

@ -0,0 +1 @@
ovmf qemu spice spice-gtk spice-protocol

@ -0,0 +1 @@
samba gvfs-smb

@ -0,0 +1 @@
openssh rsync keyring

@ -0,0 +1 @@
ffmpeg obs-studio

@ -0,0 +1 @@
xf86-input-wacom

@ -0,0 +1 @@
chromium firefox w3m

@ -0,0 +1 @@
xorg xclip xorg-xinit xorg-xbacklight arandr xdo xdotool

@ -0,0 +1 @@
zsh zsh-completions

@ -0,0 +1,33 @@
#!/bin/sh
set -Eeuo pipefail
if (( $EUID != 0 )); then
echo "Should be run as root"
exit 1
fi
# Enable multilib?
read -p ":: Enable multilib? [Y/n] " enablemultilib
enablemultilib=${enablemultilib:-Y}
if [[ $enablemultilib =~ [yY] ]]; then
echo "Enabling multilib"
if ! grep -q "^\[multilib\]" /etc/pacman.conf; then
cat >> /etc/pacman.conf <<EOF
[multilib]
Include = /etc/pacman.d/mirrorlist
EOF
fi
fi
# Enable wget?
read -p ":: Enable wget? [Y/n] " enablewget
enablewget=${enablewget:-Y}
if [[ $enablewget =~ [yY] ]]; then
echo "Enabling wget"
sed -i '/XferCommand \= \/usr\/bin\/wget/s/^#//g' /etc/pacman.conf
fi
Loading…
Cancel
Save