yadm-config/.config/yadm/bootstrap.d/_install_desktop_env.sh

29 lines
507 B
Bash
Executable file

#!/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