Changed yadm bootstrap to ask for the class

This commit is contained in:
Michel Fedde 2025-02-24 19:42:45 +01:00
parent 120412d0d3
commit 9958a7fa0e
5 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,32 @@
#!/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 \
hyprlock \
swww \
hyprswitch \
nwg-dock-hyprland \
nwg-drawer \
swaync \
wayland-logout \
hyprpicker \
pulseaudio-control \
wl-clipboard \
grim \
slurp
fi