yadm-config/.config/yadm/bootstrap
2025-01-30 22:45:09 +01:00

45 lines
868 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 \
ueli \
evremap \
superfile
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
fi
echo "# Appling setup"
sudo ln -s ~/.config/evremap.toml /etc/evremap.toml
systemctl --user enable --now evremap