env robust und inkl. Wallpaper Path

This commit is contained in:
2026-03-01 21:16:03 +01:00
parent 03cbc97d47
commit 38a8f30367
4 changed files with 13 additions and 2 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/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