userspace-installation-maid/.local/bin/userspace-installation-maid

63 lines
2.1 KiB
Bash
Executable File

#!/bin/bash
sudo pacman -Suuy
sudo pacman -S nvim mpd mpc ncmpcpp htop brightnessctl xwallpaper man dnsutils adobe-source-han-sans-jp-fonts bash-completion pcmanfm mpv maim keepassxc qbittorrent xterm terminus-font firefox xclip wireguard-tools wget p7zip unzip zip rsync neofetch lxappearance gcc cmake gdb sxiv git
sudo cp -f ~/.config/lightdm/lightdm-gtk-greeter.conf /etc/lightdm/
sudo cp -f ~/.config/pacman/* /etc/
sudo cp -f ~/.config/profile/profile /etc/
mkdir -p ~/Code/
systemctl --user enable mpd.service
systemctl --user start mpd.service
echo " "
echo " "
echo "Now installing yay!"
echo " "
echo " "
cd /opt
sudo git clone https://aur.archlinux.org/yay-git.git
sudo chown -R "$(id -un)":"$(id -un)" ./yay-git
cd yay-git
makepkg -si
yay -Suy
yay -S unrar i3exit
echo " "
echo " "
echo "Now installing keyboard layout!"
echo " "
echo " "
localectl --no-convert set-x11-keymap us,ru "" "" grp:alt_shift_toggle
sudo nano /etc/locale.gen
sudo locale-gen
echo " "
echo " "
echo "Now downloading wallpapers!"
echo " "
echo " "
sudo mkdir -p /usr/share/backgrounds/
cd /usr/share/backgrounds/
sudo wget https://reisen.church/random/wallpaper-lewd.jpg -O /usr/share/backgrounds/wallpaper-lewd.jpg
sudo wget https://reisen.church/random/lockscreen.jpg -O /usr/share/backgrounds/lockscreen.jpg
sudo wget https://reisen.church/random/wallpaper.png -O /usr/share/backgrounds/wallpaper.png
sudo wget https://reisen.church/random/greeter.jpg -O /usr/share/backgrounds/greeter.jpg
sudo wget https://reisen.church/random/Material-Black-Pistachio-Numix-FLAT.zip -O /usr/share/icons/Material-Black-Pistachio-Numix-FLAT.zip
cd /usr/share/icons
sudo unzip Material-Black-Pistachio-Numix-FLAT.zip
sudo wget https://reisen.church/random/BlackAndWhite.zip -O /usr/share/themes/BlackAndWhite.zip
cd /usr/share/themes
sudo unzip BlackAndWhite.zip
sudo magick ./lockscreen.jpg -resize $(xrandr | grep '*' | cut -f 1 -d x)x$(xrandr | grep '*' | cut -f 2 -d x | cut -f 1 -d ' ')^ my-lockscreen.png
echo " "
echo " "
echo "Your PC is ready! Now sync your keepassxc"
echo "Don't forget to move ssh keys and wireguard setup"