#!/bin/env bash 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 waybar \ hyprlock \ swww \ hyprswitch \ nwg-dock-hyprland \ nwg-drawer \ swaync \ wlogout wayland-logout \ hyprpicker \ pulseaudio-control \ wl-clipboard \ grim \ slurp fi