I am using Manjora Sway and I tested this configuration on Arch sway, so the configuration file works on these distributions. It will probably work on other distributions, but you may need to make some adjustments.
Firstly clone repo
ARCH
sudo pacman -S git
mkdir git
cd git
git clone https://github.com/cosmos-emissary/waybarconfig.git
DEBIAN
sudo apt update && apt upgrade
sudo apt install git
mkdir git
cd git
git clone https://github.com/cosmos-emissary/waybarconfig.git
FEDORA
sudo dnf update
sudo dnf install git
mkdir git
cd git
git clone https://github.com/cosmos-emissary/waybarconfig.git
Now we can run script
cd waybarconfig/WaybarConfig
chmod +x winstall.sh
./winstall.sh
Its Done