1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/sh CONFIG_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/aether" mkdir -p "$CONFIG_DIR" || { echo "error: cannot create config directory: $CONFIG_DIR" >&2 exit 1 } cd "$CONFIG_DIR" || { echo "error: cannot change directory to: $CONFIG_DIR" >&2 exit 1 } exec /usr/lib/aether/aether "$@"