env robust und inkl. Wallpaper Path
This commit is contained in:
Executable
+9
@@ -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
|
||||
Reference in New Issue
Block a user