Manjaro Sway Edition

### install ###

## remove existing manjaro-sway repository configuration
sudo sed -i '/\[manjaro-sway\]/,+2 d'  /etc/pacman.conf

## include the repo configuration
sudo sed -i '/^\[core\]/i \Include = /etc/pacman.d/manjaro-sway.repo.conf\n' /etc/pacman.conf

## add or update the repo configuration
## additionally run this after switching manjaro lifecycle branches!
sudo sh -c "curl -s https://packages.manjaro-sway.download/$(pacman-mirrors -G | sed -e "s/^arm-//")/ > /etc/pacman.d/manjaro-sway.repo.conf"