10 lines
351 B
Bash
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
|