FollieHiyuki-dotfiles/setup/river.sh

19 lines
363 B
Bash
Raw Normal View History

#!/bin/sh -e
2021-02-13 11:28:59 -05:00
# Need wlroots-devel to build
git clone https://github.com/ifreund/river.git
cd river
2021-02-13 11:28:59 -05:00
echo "Initialize submodules"
git submodule update --init
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 ..