yadm-config/.config/yadm/bootstrap.v1/bootstrap.d/11-DesktopEnv.sh
2025-04-21 22:19:46 +02:00

35 lines
706 B
Bash
Executable file

#!/bin/env bash
if [ -z ${XDG_SESSION_DESKTOP+x} ]; then
read -p "Which desktop environment do you want to install? " -r XDG_SESSION_DESKTOP
fi
echo "Installing dependencies for $XDG_SESSION_DESKTOP"
if [ $XDG_SESSION_DESKTOP = "i3" ]; then
yay -S --needed polybar \
betterlockscreen \
dunst \
pulseaudio-control \
nitrogen
fi
if [ $XDG_SESSION_DESKTOP = "Hyprland" ]; then
yay -S --needed hyprland \
waybar waybar-updates \
hyprlock \
swww \
hyprswitch \
nwg-dock-hyprland \
nwg-drawer \
swaync \
wayland-logout \
hyprpicker \
pulseaudio-control \
wl-clipboard \
grim \
slurp \
hyprsunset \
darkman \
anyrun-git
fi