#!/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 \ wlogout wayland-logout \ hyprpicker \ pulseaudio-control \ wl-clipboard \ grim \ slurp fi