#!/bin/bash
echo "Install all the explicit regular dependencies for the sway iso"

yay -S --needed $(curl -s https://raw.githubusercontent.com/Manjaro-Sway/iso-profiles/sway/community/sway/Packages-Desktop | grep "^[^#>]" | sed 's/\#.*//')

echo "Install all the explicit extra dependencies for the sway iso"
yay -S --needed $(curl -s https://raw.githubusercontent.com/Manjaro-Sway/iso-profiles/sway/community/sway/Packages-Desktop | grep -oP '(?<=>extra )[^ ]*' | sed 's/\#.*//')
