Browse Source

Install script made more modular

main
Yiğit Çolakoğlu 4 years ago
parent
commit
f15eb7f3dd
12 changed files with 951 additions and 1706 deletions
  1. +0
    -99
      arch-setup/AUR.txt
  2. +191
    -0
      arch-setup/\
  3. +67
    -20
      arch-setup/arch-setup.sh
  4. +75
    -15
      arch-setup/chroot.sh
  5. +0
    -1564
      arch-setup/nonAUR.txt
  6. +52
    -0
      arch-setup/packages.blacklist
  7. +304
    -0
      arch-setup/packages.full
  8. +252
    -0
      arch-setup/packages.minimal
  9. +3
    -2
      arch-setup/plist.sh
  10. +5
    -1
      config/vim/vimrc
  11. +2
    -4
      install.sh
  12. +0
    -1
      local/share/vim/applications

+ 0
- 99
arch-setup/AUR.txt View File

@ -1,99 +0,0 @@
activitywatch-bin
aic94xx-firmware
antibody
betterdiscord-git
betterdiscordctl-git
bfg
bitwarden
bitwarden-cli
brave-bin
brave-nightly-bin
canto-next-git
checkupdates+aur
checkupdates-aur
cordless-bin
direnv
downgrade
downgrader-git
ghidra-darcula
git-secret
gitkraken
glxinfo
google-chrome
google-cloud-sdk
googler
gtk2_prefs
haskell-haddock-library1.9
i3lock-color
ifuse
jellyfin-mpv-shim
jetbrains-toolbox
lf
libsvg
libsvg-cairo
libxft-bgra
ly
mailspring
mpd-mpris
mpris-ctl
mpv-mpris-git
mutt-wizard
ncpamixer
nerd-fonts-hack
notion-app
notion-enhancer
numix-icon-theme-git
nvm
pam-gnupg
parcel-bundler
peaclock
perl-any-moose
perl-checkupdates-aur
perl-date-holidayparser
perl-www-aur
pipes.sh
pistol-git
plymouth-git
plymouth-theme-cubes-git
plymouth-theme-darth-vader-git
postman-bin
python-click-spinner
python-delorean
python-jellyfin-apiclient
python-mpv
python-mpv-jsonipc
qt5-styleplugins
r8152-dkms
readability-cli
renpy-sdk
rofi-bluetooth-git
ruby-erubis
ruby-xdg
spicetify-cli
spotify
spotify-tui
spotifyd-full-git
sselp
sublime-text-3
surf
terminal_dimensions-git
termpdf-git
tmsu-bin
ttf-material-design-icons
ttf-symbola
typora
vtop
vue-cli
wallabag-client
wd719x-firmware
webkitgtk-bin
whatsapp-nativefier-dark
xbanish-timeout-git
xchat-se
xkb-switch
xkblayout-state-git
xmenu
xsvg
yaft
ytfzf
zoom

+ 191
- 0
arch-setup/\ View File

@ -0,0 +1,191 @@
#!/bin/bash
if [ ! -f "/install/device" ]; then
mkdir -p /install
echo "Now you will specify the partitions you have created"
echo "Please enter the suffix for each partition. For Ex:"
echo "1 if boot partition is /dev/sda1 or p1 if boot is on /dev/nvme0n1p1 and the disk is /dev/nvme0n1"
echo -n "Please enter boot partition suffix: "
read boot_p
boot=$device$boot_p
echo -n "Please enter root partition suffix: "
read root_p
root=$device$root_p
echo -n "Please enter swap partition suffix: "
read swap_p
swap=$device$swap_p
echo -n "Did you create a home partition as well?(y/N): "
read home_s
if [ "$home_s" = "y" ]; then
echo -n "Please enter home partition suffix: "
read home_p
home=$device$home_p
echo -en "$boot\n$root\n$swap\n$home" > /install/device
else
echo -en "$boot\n$root\n$swap" > /install/device
fi
fi
boot=$(head -n 1 /install/device | tail -n 1)
root=$(head -n 2 /install/device | tail -n 1)
swap=$(head -n 3 /install/device | tail -n 1)
if [ ! "$(wc -l /install/device)" = "3" ]; then
home=$(head -n 4 /install/device | tail -n 1)
fi
ln -sf /usr/share/zoneinfo/Europe/Istanbul /etc/localtime
hwclock --systohc
echo -e "en_US.UTF-8 UTF-8\ntr_TR.UTF-8 UTF-8" > /etc/locale.gen
locale-gen
echo "LANG=en_US.UTF-8" > /etc/locale.conf
if [ ! -f "/tmp/.blackarch" ]; then
curl https://blackarch.org/strap.sh > /tmp/strap.sh
chmod +x /tmp/strap.sh
/tmp/strap.sh
touch /tmp/.blackarch
fi
echo "Please enter hostname: "
read hostname
echo $hostname > /etc/hostname
echo "Please enter name for regular user:"
read username
useradd -m $username
usermod -aG wheel yigit
systemctl enable fstrim.timer
echo -e "127.0.0.1 localhost\n::1 localhost\n127.0.0.1 $hostname.localdomain $hostname" > /etc/hosts
cat << EOF > /etc/initcpio/hooks/openswap
run_hook ()
{
x=0;
while [ ! -b /dev/mapper/root ] && [ \$x -le 10 ]; do
x=$((x+1))
sleep .2
done
mkdir crypto_key_device
mount /dev/mapper/root crypto_key_device
cryptsetup open --key-file crypto_key_device/root/.keys/swap-keyfile $swap swap
umount crypto_key_device
}
EOF
cat << EOF > /etc/initcpio/install/openswap
build ()
{
add_runscript
}
help ()
{
cat<<HELPEOF
This opens the swap encrypted partition $swap in /dev/mapper/swap
HELPEOF
}
EOF
if [ ! "$home" = "" ]; then
cat << EOF > /etc/initcpio/hooks/openhome
run_hook ()
{
x=0;
while [ ! -b /dev/mapper/root ] && [ \$x -le 10 ]; do
x=$((x+1))
sleep .2
done
mkdir crypto_key_device
mount /dev/mapper/root crypto_key_device
cryptsetup open --key-file crypto_key_device/root/.keys/home-keyfile $home home
umount crypto_key_device
}
EOF
cat << EOF > /etc/initcpio/install/openswap
build ()
{
add_runscript
}
help ()
{
cat<<HELPEOF
This opens the swap encrypted partition $swap in /dev/mapper/swap
HELPEOF
}
EOF
else
cat << EOF > /etc/mkinitcpio.conf
MODULES=(vfat i915)
BINARIES=()
FILES=()
HOOKS=(base udev plymouth autodetect keyboard keymap consolefont modconf block plymouth-encrypt openswap resume filesystems fsck)
EOF
fi
pacman --noconfirm -R vim
line=1
blkid | while IFS= read -r i; do
echo "$line: $i"
((line=line+1))
done
echo "Please select the device you will save the LUKS key to:"
read keydev
uuid=$(blkid | sed -n 's/.*UUID=\"\([^\"]*\)\".*/\1/p' | sed -n "$keydev"p)
cat << EOF > /boot/refind_linux.conf
"Boot with encryption" "root=/dev/mapper/root resume=/dev/mapper/swap cryptdevice=UUID=$(blkid -s UUID -o value $root):root:allow-discards cryptkey=UUID=$uuid:vfat:key.yeet rw loglevel=3 quiet splash"
EOF
mkdir -p /etc/sudoers.d
echo "$username $hostname =NOPASSWD: /usr/bin/systemctl poweroff,/usr/bin/systemctl halt,/usr/bin/systemctl reboot,/usr/bin/systemctl hibernate" >> /etc/sudoers.d/wheel
echo "Defaults env_reset,pwfeedback" >> /etc/sudoers.d/wheel
echo "%wheel ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/nopwd
echo "Set password for user $username: "
passwd $username
sudo -u $username bash -c "git clone https://aur.archlinux.org/yay.git /tmp/yay"
sudo -u $username bash -c "(cd /tmp/yay; makepkg --noconfirm -si)"
sudo -u $username bash -c "yay --noconfirm -S plymouth"
refind-install
sudo -u $username bash -c "git clone --recurse-submodules https://github.com/theFr1nge/dotfiles.git ~/.dotfiles"
sudo -u $username bash -c "(cd ~/.dotfiles; ./install.sh)"
git clone https://github.com/adi1090x/plymouth-themes.git /tmp/pthemes
cat << EOF > /etc/plymouth/plymouthd.conf
[Daemon]
Theme=sphere
ShowDelay=0
DeviceTimeout=8
EOF
cp -r /tmp/pthemes/pack_4/sphere /usr/share/plymouth/themes
echo -e "/boot/EFI/refind\n2\n2" | sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/bobafetthotmail/refind-theme-regular/master/install.sh)"
systemctl enable NetworkManager
systemctl enable ly
systemctl enable cronie
mkinitcpio -P
vim /etc/fstab
pacman -R nano # uninstall nano, eww
rm -rf /etc/sudoers.d/nopwd
echo "%wheel ALL=(ALL) ALL" >> /etc/sudoers.d/wheel
rm -rf /bin/sh
ln -sf /bin/dash /bin/sh
echo "SETUP COMPLETE"
bash
rm -rf /install

+ 67
- 20
arch-setup/arch-setup.sh View File

@ -6,36 +6,62 @@ read device
echo "Installing to $device... (Enter to continue)"
read _
echo -n "Would you wipe and re-partition the disk $device?(Y/n): "
echo -n "Would you like to wipe and re-partition the disk $device?(Y/n): "
read wipe
if [ ! "$wipe" = "n" ]; then
# Disk wipe
echo "[INFO]: Wiping disk"
cryptsetup open -q --type plain -d /dev/urandom $device wipe
dd if=/dev/zero of=/dev/mapper/wipe status=progress
cryptsetup -q close wipe
echo -n "Should I do a secure wipe?(y/N): "
read secure
if [ "$secure" = "y" ]; then
echo "[INFO]: Writing random data to disk, this might take a while if you have a large drive..."
cryptsetup open -q --type plain -d /dev/urandom $device wipe
dd if=/dev/zero of=/dev/mapper/wipe status=progress
cryptsetup -q close wipe
fi
echo "[INFO]: Wiping the partition table..."
wipefs -a -f $device
# Run cfdisk for manual partitioning
cfdisk $device
fi
# Run cfdisk for manual partitioning
cfdisk $device
echo "Now you will specify the partitions you have created"
echo "Please enter the suffix for each partition. For Ex:"
echo "1 if boot partition is /dev/sda1 or p1 if boot is on /dev/nvme0n1p1 and the disk is /dev/nvme0n1"
echo -n "Please enter boot partition suffix: "
read boot_p
boot=$device$boot_p
echo -n "Please enter root partition suffix: "
read root_p
root=$device$root_p
echo -n "Please enter swap partition suffix: "
read swap_p
swap=$device$swap_p
echo -n "Did you create a home partition as well?(y/N): "
read home_s
if [ "$home_s" = "y" ]; then
echo -n "Please enter home partition suffix: "
read home_p
home=$device$home_p
fi
# Create the boot partition
echo "[INFO]: Formatting boot partition"
mkfs.fat -F32 "$device"1
mkfs.fat -F32 $boot
# Create the swap partition
echo "[INFO]: Enter password for swap encryption"
read swap_pass
echo $swap_pass | cryptsetup -q luksFormat "$device"2
echo $swap_pass | cryptsetup -q luksFormat "$swap"
mkdir /root/.keys
dd if=/dev/urandom of=/root/.keys/swap-keyfile bs=1024 count=4
chmod 600 /root/.keys/swap-keyfile
echo $swap_pass | cryptsetup luksAddKey "$device"2 /root/.keys/swap-keyfile
echo $swap_pass | cryptsetup luksAddKey "$swap" /root/.keys/swap-keyfile
echo "[INFO]: Keyfile saved to /root/.keys/swap-keyfile"
cryptsetup open --key-file="/root/.keys/swap-keyfile" "$device"2 swap
cryptsetup open --key-file="/root/.keys/swap-keyfile" "$swap" swap
mkswap /dev/mapper/swap
swapon /dev/mapper/swap
@ -43,27 +69,48 @@ swapon /dev/mapper/swap
echo "[INFO]: Enter password for root encryption"
read root_pass
echo $root_pass | cryptsetup -q luksFormat "$device"3
echo $root_pass | cryptsetup -q luksFormat "$root"
dd bs=512 count=4 if=/dev/random of=/root/.keys/root-keyfile iflag=fullblock
chmod 600 /root/.keys/root-keyfile
echo $root_pass | cryptsetup luksAddKey "$device"3 /root/.keys/root-keyfile
echo $root_pass | cryptsetup luksAddKey "$root" /root/.keys/root-keyfile
echo "[INFO]: Keyfile saved to /root/.keys/root-keyfile"
cryptsetup open --key-file="/root/.keys/root-keyfile" "$device"3 root
cryptsetup open --key-file="/root/.keys/root-keyfile" "$root" root
mkfs.ext4 /dev/mapper/root
if [ "$home_s" = "y" ]; then
echo "[INFO]: Enter password for home encryption"
read home_pass
echo $home_pass | cryptsetup -q luksFormat "$home"
dd bs=512 count=4 if=/dev/random of=/root/.keys/home-keyfile iflag=fullblock
chmod 600 /root/.keys/home-keyfile
echo $home_pass | cryptsetup luksAddKey "$home" /root/.keys/home-keyfile
echo "[INFO]: Keyfile saved to /root/.keys/home-keyfile"
cryptsetup open --key-file="/root/.keys/home-keyfile" "$home" root
mkfs.ext4 /dev/mapper/home
mkdir /mnt/sys/home
mount "/dev/mapper/home" /mnt/sys/home
fi
mkdir /mnt/sys
mount /dev/mapper/root /mnt/sys
mkdir /mnt/sys/boot
mount "$device"1 /mnt/sys/boot
mount "$boot" /mnt/sys/boot
pacstrap /mnt/sys base linux linux-firmware base-devel git nano
pacstrap /mnt/sys base linux linux-firmware base-devel git nano tmux sudo
genfstab -U /mnt/sys >> /mnt/sys/etc/fstab
# Run on chrooted arch install
mkdir /mnt/sys/install
cp -r /root/.keys /mnt/sys/root
curl https://raw.githubusercontent.com/theFr1nge/dotfiles/main/arch-setup/AUR.txt > /mnt/sys/install/AUR.txt
curl https://raw.githubusercontent.com/theFr1nge/dotfiles/main/arch-setup/nonAUR.txt > /mnt/sys/install/nonAUR.txt
curl https://raw.githubusercontent.com/theFr1nge/dotfiles/main/arch-setup/packages.minimal > /mnt/sys/install/packages.minimal
curl https://raw.githubusercontent.com/theFr1nge/dotfiles/main/arch-setup/packages.full > /mnt/sys/install/packages.full
curl https://raw.githubusercontent.com/theFr1nge/dotfiles/main/arch-setup/chroot.sh > /mnt/sys/install/chroot.sh
chmod +x /mnt/sys/install/chroot.sh
echo -n "$device" > /mnt/sys/install/device
arch-chroot /mnt/sys /install/chroot.sh
if [ "$home_s" = "y" ]; then
echo -en "$boot\n$root\n$swap\n$home" > /mnt/sys/install/device
else
echo -en "$boot\n$root\n$swap" > /mnt/sys/install/device
fi
arch-chroot /mnt/sys bash -c 'tmux new-session -s "arch-setup" /install/chroot.sh'

+ 75
- 15
arch-setup/chroot.sh View File

@ -1,12 +1,36 @@
#!/bin/bash
if [ ! -f "/install/device" ]; then
echo -n "What is the install device: "
read device
echo "Installing to $device... (Enter to continue)"
read _
mkdir -p /install
echo $device > /install/device
echo "Now you will specify the partitions you have created"
echo "Please enter the suffix for each partition. For Ex:"
echo "1 if boot partition is /dev/sda1 or p1 if boot is on /dev/nvme0n1p1 and the disk is /dev/nvme0n1"
echo -n "Please enter boot partition suffix: "
read boot_p
boot=$device$boot_p
echo -n "Please enter root partition suffix: "
read root_p
root=$device$root_p
echo -n "Please enter swap partition suffix: "
read swap_p
swap=$device$swap_p
echo -n "Did you create a home partition as well?(y/N): "
read home_s
if [ "$home_s" = "y" ]; then
echo -n "Please enter home partition suffix: "
read home_p
home=$device$home_p
echo -en "$boot\n$root\n$swap\n$home" > /install/device
else
echo -en "$boot\n$root\n$swap" > /install/device
fi
fi
boot=$(head -n 1 /install/device | tail -n 1)
root=$(head -n 2 /install/device | tail -n 1)
swap=$(head -n 3 /install/device | tail -n 1)
if [ ! "$(wc -l /install/device)" = "3" ]; then
home=$(head -n 4 /install/device | tail -n 1)
fi
ln -sf /usr/share/zoneinfo/Europe/Istanbul /etc/localtime
@ -33,12 +57,6 @@ usermod -aG wheel yigit
systemctl enable fstrim.timer
echo -e "127.0.0.1 localhost\n::1 localhost\n127.0.0.1 $hostname.localdomain $hostname" > /etc/hosts
cat << EOF > /etc/mkinitcpio.conf
MODULES=(vfat i915)
BINARIES=()
FILES=()
HOOKS=(base udev plymouth autodetect keyboard keymap consolefont modconf block plymouth-encrypt openswap resume filesystems fsck)
EOF
cat << EOF > /etc/initcpio/hooks/openswap
run_hook ()
@ -50,7 +68,7 @@ run_hook ()
done
mkdir crypto_key_device
mount /dev/mapper/root crypto_key_device
cryptsetup open --key-file crypto_key_device/root/.keys/swap-keyfile $(cat /install/device)2 swap
cryptsetup open --key-file crypto_key_device/root/.keys/swap-keyfile $swap swap
umount crypto_key_device
}
EOF
@ -63,13 +81,54 @@ build ()
help ()
{
cat<<HELPEOF
This opens the swap encrypted partition $(cat /install/device)2 in /dev/mapper/swap
This opens the swap encrypted partition $swap in /dev/mapper/swap
HELPEOF
}
EOF
if [ ! "$home" = "" ]; then
cat << EOF > /etc/initcpio/hooks/openhome
run_hook ()
{
x=0;
while [ ! -b /dev/mapper/root ] && [ \$x -le 10 ]; do
x=$((x+1))
sleep .2
done
mkdir crypto_key_device
mount /dev/mapper/root crypto_key_device
cryptsetup open --key-file crypto_key_device/root/.keys/home-keyfile $home home
umount crypto_key_device
}
EOF
cat << EOF > /etc/initcpio/install/openhome
build ()
{
add_runscript
}
help ()
{
cat<<HELPEOF
This opens the swap encrypted partition $home in /dev/mapper/home
HELPEOF
}
EOF
cat << EOF > /etc/mkinitcpio.conf
MODULES=(vfat i915)
BINARIES=()
FILES=()
HOOKS=(base udev plymouth autodetect keyboard keymap consolefont modconf block plymouth-encrypt openswap openhome resume filesystems fsck)
EOF
else
cat << EOF > /etc/mkinitcpio.conf
MODULES=(vfat i915)
BINARIES=()
FILES=()
HOOKS=(base udev plymouth autodetect keyboard keymap consolefont modconf block plymouth-encrypt openswap resume filesystems fsck)
EOF
fi
pacman --noconfirm -R vim
pacman -S --needed --noconfirm $(cat /install/nonAUR.txt)
line=1
@ -83,7 +142,7 @@ read keydev
uuid=$(blkid | sed -n 's/.*UUID=\"\([^\"]*\)\".*/\1/p' | sed -n "$keydev"p)
cat << EOF > /boot/refind_linux.conf
"Boot with encryption" "root=/dev/mapper/root resume=/dev/mapper/swap cryptdevice=UUID=$(blkid -s UUID -o value $(cat /install/device)3):root:allow-discards cryptkey=UUID=$uuid:vfat:key.yeet rw loglevel=3 quiet splash"
"Boot with encryption" "root=/dev/mapper/root resume=/dev/mapper/swap cryptdevice=UUID=$(blkid -s UUID -o value $root):root:allow-discards cryptkey=UUID=$uuid:vfat:key.yeet rw loglevel=3 quiet splash"
EOF
mkdir -p /etc/sudoers.d
@ -133,3 +192,4 @@ ln -sf /bin/dash /bin/sh
echo "SETUP COMPLETE"
bash
rm -rf /install

+ 0
- 1564
arch-setup/nonAUR.txt
File diff suppressed because it is too large
View File


+ 52
- 0
arch-setup/packages.blacklist View File

@ -0,0 +1,52 @@
activitywatch-bin
aic94xx-firmware
archivemount
arch-wiki-lite
aria2
autoconf2.13
baobab
base
bfg
bison
bitwarden
bitwarden-cli
blackarch-keyring
borgmatic
botan
canon-pixma-ts5055-complete
canto-next-git
capt-src
cheese
cndrvcups-lt
code
cpanminus
ctemplate
cups-pdf
ghidra-darcula
gitkraken
google-chrome
google-cloud-sdk
googler
gperf
gradle
kitty
mailcap
openssl-1.0
terminal_dimensions-git
texlive-bibtexextra
texlive-fontsextra
texlive-formatsextra
texlive-games
texlive-humanities
texlive-music
texlive-pstricks
texlive-publishers
texlive-science
tidy
ttf-joypixels
vue-cli
wd719x-firmware
xf86-video-amdgpu
xf86-video-vesa
yasm
zoom

+ 304
- 0
arch-setup/packages.full View File

@ -0,0 +1,304 @@
ack
activitywatch-bin
aic94xx-firmware
alacritty
antibody
arandr
archivemount
arch-wiki-lite
aria2
autoconf2.13
baobab
base
bat
betterdiscordctl-git
betterdiscord-git
bfg
bison
bitwarden
bitwarden-cli
blackarch-keyring
blueman
borgmatic
botan
brave-bin
calcurse
calibre
canon-pixma-ts5055-complete
canto-next-git
capt-src
catdoc
cbindgen
checkupdates+aur
cheese
chrony
clipnotify
cmake
cndrvcups-lt
code
cpanminus
cpupower
ctags
ctemplate
cups-pdf
dash
dejagnu
direnv
doxygen
dunst
efitools
electron6
engrampa
exfat-utils
figlet
fltk
ghidra-darcula
gimp
gitkraken
git-secret
gksu
glxinfo
gn-m85
gnome-autoar
gnome-bluetooth
gnome-common
gnome-disk-utility
gnome-session
gnuplot
go
gobject-introspection
google-chrome
google-cloud-sdk
googler
gparted
gperf
gradle
grub
gtk2-perl
gtk2_prefs
haskell-haddock-library1.9
haskell-hxt
hexchat
htop
i3lock-color
i7z
ifuse
imake
inetutils
inkscape
intel-ucode
iperf
irssi
jellyfin-mpv-shim
jetbrains-toolbox
kbookmarks
kded
keepass
khal
khard
kitty
kjobwidgets
knotifications
ktextwidgets
kunst-git
lib32-libpng12
lib32-libtiff
libgdm
libreoffice-fresh
libsmbios
libwnck3
libxnvctrl
lighttpd
lld
luit
lxappearance
ly
mailcap
man-pages
mariadb
meson
mksh
mozilla-common
mpd-mpris
mpris-ctl
mpv-mpris-git
mutter
mutt-wizard
mysql-workbench
nasm
ncmpcpp
ncpamixer
ncurses5-compat-libs
nemo
neofetch
neovim
nerd-fonts-hack
net-tools
newsboat
nextcloud-client
ngrok
nm-connection-editor
notmuch
numix-icon-theme-git
nvm
opencv
openssl-1.0
pamixer
parcel-bundler
patchelf
pavucontrol
peaclock
perl-date-holidayparser
perl-module-install
phonon-qt4
php
pipes.sh
pistol-git
playerctl
plymouth-theme-cubes-git
pngquant
polkit-gnome
postman-bin
powertop
proxychains-ng
python2-docutils
python2-psutil
python2-virtualenv
python-asn1crypto
python-gnupg
python-pdftotext
python-ropper
qbittorrent
qt5ct
qt5-quickcontrols
qt5-script
qt5-styleplugins
qutebrowser
r8152-dkms
radare2
rclone
readability-cli
redis
refind
renpy-sdk
rofi-bluetooth-git
rsync
ruby-bundler
ruby-erubis
ruby-rainbow
ruby-ronn
ruby-thor
ruby-xdg
rust
scdoc
scrot
shotwell
simplescreenrecorder
solid
spicetify-cli
spotify
spotifyd-full-git
spotify-tui
sselp
stegoveritas
sublime-text-3
surfraw
sxhkd
sysbench
system-config-printer
taskwarrior-tui
tcsh
telegram-desktop
terminal_dimensions-git
termite
texlive-bibtexextra
texlive-fontsextra
texlive-formatsextra
texlive-games
texlive-humanities
texlive-music
texlive-pstricks
texlive-publishers
texlive-science
thermald
tidy
tlp
tmate
tmsu-bin
torbrowser-launcher
tracker3
ttf-inconsolata
ttf-joypixels
ttf-linux-libertine
ttf-material-design-icons
ttf-symbola
turbostat
typora
udevil
unclutter
urlscan
vala
vi
virtualbox
vlc
vtop
vue-cli
wallabag-client
wd719x-firmware
webkitgtk-bin
weechat
wget
whatsapp-nativefier-dark
wireless_tools
wireshark-qt
xautolock
xbanish-timeout-git
xbitmaps
xf86-video-amdgpu
xf86-video-intel
xf86-video-vesa
xkblayout-state-git
xkb-switch
xmenu
xorg-bdftopcf
xorg-docs
xorg-fonts-100dpi
xorg-fonts-75dpi
xorg-font-util
xorg-iceauth
xorg-mkfontscale
xorg-server
xorg-server-devel
xorg-server-xnest
xorg-server-xvfb
xorg-sessreg
xorg-smproxy
xorg-x11perf
xorg-xbacklight
xorg-xcmsdb
xorg-xcursorgen
xorg-xdriinfo
xorg-xev
xorg-xgamma
xorg-xhost
xorg-xinit
xorg-xinput
xorg-xkbevd
xorg-xkbutils
xorg-xkill
xorg-xlsatoms
xorg-xlsclients
xorg-xpr
xorg-xrefresh
xorg-xsetroot
xorg-xvinfo
xorg-xwd
xorg-xwud
xscreensaver
xss-lock
xsvg
yarn
yasm
yay
ytfzf
zoom

+ 252
- 0
arch-setup/packages.minimal View File

@ -0,0 +1,252 @@
ack
alacritty
antibody
arandr
bat
betterdiscordctl-git
betterdiscord-git
blueman
brave-bin
calcurse
calibre
catdoc
cbindgen
checkupdates+aur
chrony
clipnotify
cmake
cpupower
ctags
dash
dejagnu
direnv
doxygen
dunst
efitools
electron6
engrampa
exfat-utils
figlet
fltk
gimp
git-secret
gksu
glxinfo
gn-m85
gnome-autoar
gnome-bluetooth
gnome-common
gnome-disk-utility
gnome-session
gnuplot
go
gobject-introspection
gparted
grub
gtk2-perl
gtk2_prefs
haskell-haddock-library1.9
haskell-hxt
hexchat
htop
i3lock-color
i7z
ifuse
imake
inetutils
inkscape
intel-ucode
iperf
irssi
jellyfin-mpv-shim
jetbrains-toolbox
kbookmarks
kded
keepass
khal
khard
kjobwidgets
knotifications
ktextwidgets
kunst-git
lib32-libpng12
lib32-libtiff
libgdm
libreoffice-fresh
libsmbios
libwnck3
libxnvctrl
lighttpd
lld
luit
lxappearance
ly
man-pages
mariadb
meson
mksh
mozilla-common
mpd-mpris
mpris-ctl
mpv-mpris-git
mutter
mutt-wizard
mysql-workbench
nasm
ncmpcpp
ncpamixer
ncurses5-compat-libs
nemo
neofetch
neovim
nerd-fonts-hack
net-tools
newsboat
nextcloud-client
ngrok
nm-connection-editor
notmuch
numix-icon-theme-git
nvm
opencv
pamixer
parcel-bundler
patchelf
pavucontrol
peaclock
perl-date-holidayparser
perl-module-install
phonon-qt4
php
pipes.sh
pistol-git
playerctl
plymouth-theme-cubes-git
pngquant
polkit-gnome
postman-bin
powertop
proxychains-ng
python2-docutils
python2-psutil
python2-virtualenv
python-asn1crypto
python-gnupg
python-pdftotext
python-ropper
qbittorrent
qt5ct
qt5-quickcontrols
qt5-script
qt5-styleplugins
qutebrowser
r8152-dkms
radare2
rclone
readability-cli
redis
refind
renpy-sdk
rofi-bluetooth-git
rsync
ruby-bundler
ruby-erubis
ruby-rainbow
ruby-ronn
ruby-thor
ruby-xdg
rust
scdoc
scrot
shotwell
simplescreenrecorder
solid
spicetify-cli
spotify
spotifyd-full-git
spotify-tui
sselp
stegoveritas
sublime-text-3
surfraw
sxhkd
sysbench
system-config-printer
taskwarrior-tui
tcsh
telegram-desktop
termite
thermald
tlp
tmate
tmsu-bin
torbrowser-launcher
tracker3
ttf-inconsolata
ttf-linux-libertine
ttf-material-design-icons
ttf-symbola
turbostat
typora
udevil
unclutter
urlscan
vala
vi
virtualbox
vlc
vtop
wallabag-client
webkitgtk-bin
weechat
wget
whatsapp-nativefier-dark
wireless_tools
wireshark-qt
xautolock
xbanish-timeout-git
xbitmaps
xf86-video-intel
xkblayout-state-git
xkb-switch
xmenu
xorg-bdftopcf
xorg-docs
xorg-fonts-100dpi
xorg-fonts-75dpi
xorg-font-util
xorg-iceauth
xorg-mkfontscale
xorg-server
xorg-server-devel
xorg-server-xnest
xorg-server-xvfb
xorg-sessreg
xorg-smproxy
xorg-x11perf
xorg-xbacklight
xorg-xcmsdb
xorg-xcursorgen
xorg-xdriinfo
xorg-xev
xorg-xgamma
xorg-xhost
xorg-xinit
xorg-xinput
xorg-xkbevd
xorg-xkbutils
xorg-xkill
xorg-xlsatoms
xorg-xlsclients
xorg-xpr
xorg-xrefresh
xorg-xsetroot
xorg-xvinfo
xorg-xwd
xorg-xwud
xscreensaver
xss-lock
xsvg
yarn
yay
ytfzf

+ 3
- 2
arch-setup/plist.sh View File

@ -1,4 +1,5 @@
#!/bin/bash
pacman -Qq | grep -v "$(pacman -Qqm)" | grep -v yay | grep -v texlive> ~/.dotfiles/arch-setup/nonAUR.txt
pacman -Qqm | grep -v canon | grep -v capt | grep -v cups> ~/.dotfiles/arch-setup/AUR.txt
comm -23 <(pacman -Qqt | sort) <(pacman -Qqg base 2> /dev/null | sort) > ~/.dotfiles/arch-setup/packages.full
comm -13 packages.blacklist packages.full > packages.minimal

+ 5
- 1
config/vim/vimrc View File

@ -103,7 +103,11 @@ endif
let g:material_style='oceanic'
set background=dark
colorscheme vim-material
try
colorscheme vim-material
catch /^Vim\%((\a\+)\)\=:E185/
colorscheme default
endtry
let g:airline_theme='material'
" Showcase comments in italics


+ 2
- 4
install.sh View File

@ -16,10 +16,8 @@ fi
# Install packages
echo "Running update"
sudo pacman --noconfirm -Syu
sudo pacman --noconfirm --needed -S $(cat ~/.dotfiles/arch-setup/nonAUR.txt)
sudo rm -rf /etc/urlview/system.urlview
yay -S --noconfirm --needed $(cat ~/.dotfiles/arch-setup/AUR.txt)
yay -S --noconfirm --needed $(cat ~/.dotfiles/arch-setup/packages.minimal)
# Initial cleanup
echo "Backing up your previous dotfiles to ~/.dotfiles_backup"
@ -141,7 +139,7 @@ cd $prev
# Install vim and tmux plugins
mkdir -p ~/.tmux/plugins
vim -c ':PlugInstall'
vim +PlugInstall +qall
# Install mconnect
git clone https://github.com/theFr1nge/mconnect.git /tmp/mconnect


+ 0
- 1
local/share/vim/applications View File

@ -1 +0,0 @@
/home/yigit/.dotfiles/local/applications/vim.desktop

Loading…
Cancel
Save