FollieHiyuki-dotfiles/setup/river.sh
2021-06-08 22:44:48 +03:00

19 lines
375 B
Bash
Executable File

#!/bin/sh -e
# Need wlroots-devel to build
git clone https://github.com/ifreund/river.git
cd river
echo "Initialize submodules"
git submodule update --init --recursive
echo "Install river"
if command -v doas >/dev/null
then
doas -- zig build -Drelease-safe -Dxwayland --prefix /usr install
else
sudo zig build -Drelease-safe -Dxwayland --prefix /usr install
fi
cd ..