#!/usr/bin/env bash

# Tell this script to exit if there are any errors.
# You should have this in every custom script, to ensure that your completed
# builds actually ran successfully without any errors!
set -oue pipefail


river_conf="$HOME/.config/river/init"

if [ -f "$river_conf" ]; then
    river
else
    XDG_CONFIG_HOME=/usr/etc/ river
fi
