Update and install Sway window manager and Wlroots - TheMediocritist/RadxaZero_Experiments GitHub Wiki

Why would I want to do this?

Because Sway is awesome, but modeline support was only introduced recently and has not made it into a release yet. So I'll build from source so I can use weird resolution displays with dodgy EDIDs.

Download and install from AUR:

git clone https://aur.archlinux.org/wlroots-git.git
git clone https://aur.archlinux.org/swaybg-git.git
git clone https://aur.archlinux.org/sway-git.git
cd wlroots-git
sudo nano wlroots-git/PKGBUILD

Add aarch64 to the line beginning with arch. E.g.:

arch=("i686" "x86_64" "aarch64")

Do the same for each of the other packages:

sudo nano swaybg-git/PKGBUILD
sudo nano sway-git/PKGBUILD

Now install each of the packages:

cd wlroots-git
makepkg -si
cd .. 
cd swaybg-git
makepkg -si
cd ..
cd sway-git
makepkg -si