dots/chezmoi/dot_config/river/executable_init
2024-10-30 16:08:52 -03:00

10 lines
351 B
Bash

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