yadm-config/.config/yadm/bootstrap
2025-02-07 15:11:08 +01:00

52 lines
979 B
Bash
Executable file

#!/bin/bash
debug() {
echo "Debug:"
echo "XDG_SESSION_DESKTOP $XDG_SESSION_DESKTOP"
}
CYAN='\033[0;36m'
NC='\033[0m'
# install dependencies
echo -e "${CYAN}# Installing dependencies (general)${NC}"
yay -S --needed neovim \
nitrogen \
kitty \
btop \
zoxide fzf \
evremap \
superfile \
getnf
if [ $XDG_SESSION_DESKTOP = "i3" ]; then
echo -e "${CYAN}# Installing dependencies (for i3)${NC}"
yay -S --needed polybar \
betterlockscreen \
dunst \
pulseaudio-control \
nitrogen
fi
if [ $XDG_SESSION_DESKTOP = "Hyprland" ]; then
echo -e "${CYAN}# Installing dependencies (for Hyprland)${NC}"
yay -S --needed waybar \
hyprlock \
swww \
hyprswitch \
nwg-dock-hyprland \
nwg-drawer \
swaync \
wlogout \
hyprpicker \
pulseaudio-control \
wl-clipboard
fi
echo "# Appling setup"
sudo ln -s ~/.config/evremap.toml /etc/evremap.toml
systemctl --user enable --now evremap
getnf -i "JetBrainsMono"
fc-cache