#!/usr/bin/env bash # Wrapper for launching the configuration from lua. This will add the river # directory to the LUA_PATH global variable so the configuration can be # splitted into multiple files config_dir="${XDG_CONFIG_HOME:-$HOME/.config}/river" export LUA_PATH="$config_dir/?.lua;$config_dir/?/init.lua;$LUA_PATH" lua "$config_dir"/init.lua