59 lines
1.4 KiB
Bash
Executable File
59 lines
1.4 KiB
Bash
Executable File
#! /bin/bash
|
|
source dotfiles/.bashrc
|
|
|
|
# Install Paru
|
|
if [ ! $(command -v paru) ]; then
|
|
sudo pacman -S --needed base-devel
|
|
git clone https://aur.archlinux.org/paru.git
|
|
cd paru
|
|
makepkg -si
|
|
cd ..
|
|
rm -rf paru
|
|
fi
|
|
|
|
# Install script dependencies
|
|
paru -Sy curl git stow bat fzf less nextcloud-client
|
|
|
|
# Install DE
|
|
paru -Sy sway swaybg swaylock waybar wofi foot grim slurp wl-clipboard
|
|
|
|
# Install GUI Apps
|
|
paru -Sy signal-desktop gnome-calendar gnome-podcasts brave-bin
|
|
|
|
# Install CLI Apps
|
|
paru -Sy gdu toipe bottom w3m newsboat iamb tmux ollama vim transmission-cli mutt pass
|
|
|
|
|
|
if [ $(pwd) != "$HOME/dotfiles" ]; then
|
|
cd $HOME
|
|
git clone https://github.com/TrudeEH/dotfiles --depth=1
|
|
cd dotfiles
|
|
fi
|
|
|
|
echo -e "${GREEN}[+] Symlinking dotfiles...${ENDCOLOR}"
|
|
stow -v -t $HOME dotfiles --adopt
|
|
git diff
|
|
git reset --hard
|
|
|
|
# Reload fonts
|
|
fc-cache -fv
|
|
|
|
# link wallpaper
|
|
mkdir -p "/usr/share/backgrounds"
|
|
sudo cp -f ~/dotfiles/bg.jpg /usr/share/backgrounds/bg.jpg
|
|
|
|
# dconf reset -f /
|
|
dconf load / < dconf-settings
|
|
|
|
xdg-settings set default-web-browser brave-browser.desktop
|
|
|
|
# Import Files, Passwords and Keys
|
|
ncs
|
|
gpg --import-ownertrust ~/Nextcloud/SYNC/exported-keys/private.pgp
|
|
gpg --import-ownertrust ~/Nextcloud/SYNC/exported-keys/public.pgp
|
|
gpg --import-ownertrust < ~/Nextcloud/SYNC/exported-keys/trustlevel.txt
|
|
ln -s ~/Nextcloud/SYNC/password-store/ ~/.password-store
|
|
|
|
echo
|
|
echo -e "${GREEN}[I] Done.${ENDCOLOR}"
|