#!/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


wayfire_conf="$HOME/.config/wayfire.ini"
default_conf="/usr/share/wayfire/wayfire.ini"

if [ -f "$wayfire_conf" ]; then
    wayfire -c "$wayfire_conf"
else
    wayfire -c "$default_conf"
fi