Files
dotfiles/hypr/.config/hypr/scripts/ensure-env.sh
T

10 lines
291 B
Bash
Executable File

#!/usr/bin/env sh
set -eu # Exit immediately if a command exits with a non-zero status, and treat unset variables as an error.
if [ ! -f "hypr/.config/hypr/env" ]; then
cp "hypr/.config/hypr/env_template" "hypr/.config/hypr/env"
echo "Created hypr/.config/hypr/env from template."
fi