-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
executable file
·75 lines (49 loc) · 1.94 KB
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#### DONT RUN AS ROOT ####
if [ "$(id -u)" = 0 ]; then
echo "This script MUST NOT be run as root" 1>&2
exit 1
fi
#### UPGRADING SYSTEM ####
printf "\nUpgrading system\n"
sleep 1
sudo pacman -Syu --noconfirm
#### INSTALL YAY ####
printf "\nInstalling yay...\n"
sleep 1
sudo pacman -S base-devel git --needed --noconfirm
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
#### INSTALL PACKAGES ####
printf "\nInstalling packages\n"
sleep 1
packages="apple_cursor base bat blueman brave-bin brightnessctl chili-sddm-theme conceal-bin dragon-drop emote
eza fd feh ffmpegthumbnailer file-roller fzf glow git-credential-manager-bin git-delta gnome-keyring
gnome-system-monitor grim gvfs gvfs-mtp htop hyprland hyprlock hyprpaper i3-wm imagemagick keyd kitty kvantum
lazygit man-db mediainfo mercurial mpd mpc mpv neovim net-tools ntfs-3g nwg-look obsidian p7zip pass
perl-image-exiftool picom polybar poppler power-profiles-daemon pyenv python-pipenv python-pipx python-pynvim
qt6ct ripgrep rofi seahorse shotwell stow thunar thunar-volman timidity++ tmux ttf-cascadia-code ttf-fira-sans
ttf-jetbrains-mono-nerd ttf-joypixels ttf-meslo-nerd ttf-nerd-fonts-symbols-mono ttf-roboto ttf-terminus-nerd
unzip waybar wget wlogout wl-clipboard wofi xclip xdg-user-dirs xfce4-notifyd xfce-polkit xorg-font-util
xorg-fonts-misc xorg-mkfontscale yazi zip zoxide zsh"
yay -Sy $packages --needed --noconfirm
# install autotiling
pipx install autotiling subliminal
#### PREPARING FOLDERS ####
if [[ ! -e "$HOME/.config/user-dirs.dirs" ]]; then
xdg-user-dirs-update
fi
mkdir ~/.mpd/playlists -p
#### INSTALL RICE ####
printf "\nInstalling dotfiles\n"
sleep 1
# install root target packages
sudo stow --adopt -t / root
# install home target packages
stow --adopt -t ~/ home
printf "\nBuilding bat theme\n"
sleep 1
bat cache --build
printf "\nInstalling yazi's catppuccin-mocha flavor\n"
sleep 1
ya pack -a yazi-rs/flavors:catppuccin-mocha