1 2 3 4 5 6 7 8 9 10 11 12
#!/usr/bin/env sh config="${HOME}/.config" name='amidst-for-minetest' if [ ! -z ${XDG_CONFIG_HOME} ]; then config="${XDG_CONFIG_HOME}" fi java \ -jar /usr/share/java/${name}.jar \ -biome-profiles "${config}/${name}/biome-profiles"