This commit is contained in:
Hannes
2026-06-09 19:48:10 +02:00
parent 28c28da83a
commit 98057ae01e
13 changed files with 51 additions and 432 deletions
+44 -2
View File
@@ -5,14 +5,56 @@ if [ -e "$SCRIPT_DIR/user_config/monitor.conf" ]; then
echo "User monitor.conf allready exists"
else
echo "Creating User monitor.conf"
cp "$SCRIPT_DIR/user_config/monitor.conf.example" "$SCRIPT_DIR/user_config/monitor.conf"
cp "$SCRIPT_DIR/examples/monitor.conf.example" "$SCRIPT_DIR/user_config/monitor.conf"
fi
if [ -e "$SCRIPT_DIR/user_config/input.conf" ]; then
echo "User input.conf allready exists"
else
echo "Creating User input.conf"
cp "$SCRIPT_DIR/examples/input.conf.example" "$SCRIPT_DIR/user_config/input.conf"
fi
if [ -e "$SCRIPT_DIR/user_config/workspace.conf" ]; then
echo "User workspace.conf allready exists"
else
echo "Creating User workspace.conf"
cp "$SCRIPT_DIR/examples/workspace.conf.example" "$SCRIPT_DIR/user_config/workspace.conf"
fi
if [ -e "$SCRIPT_DIR/scripts/autostart/workspace" ]; then
echo "User workspace allready exists"
else
echo "Creating User workspace"
cp "$SCRIPT_DIR/examples/workspace.example" "$SCRIPT_DIR/scripts/autostart/workspace"
fi
if [ -e "$SCRIPT_DIR/user_config/input.conf" ]; then
echo "User input.conf allready exists"
else
echo "Creating User input.conf"
cp "$SCRIPT_DIR/examples/input.conf.example" "$SCRIPT_DIR/user_config/input.conf"
fi
if [ -e "$SCRIPT_DIR/hyprlock.conf" ]; then
echo "User hyprlock.conf allready exists"
else
echo "Creating User monitor.conf"
cp "$SCRIPT_DIR/hyprlock.conf.example" "$SCRIPT_DIR/hyprlock.conf"
cp "$SCRIPT_DIR/examples/hyprlock.conf.example" "$SCRIPT_DIR/hyprlock.conf"
fi
if [ -e "$SCRIPT_DIR/hyprpaper.conf" ]; then
echo "User hyprpaper.conf allready exists"
else
echo "Creating User hyprpaper.conf"
cp "$SCRIPT_DIR/examples/hyprpaper.conf.example" "$SCRIPT_DIR/hyprpaper.conf"
fi
if [ -e "$SCRIPT_DIR/config/autostart.conf" ]; then
echo "User autostart.conf allready exists"
else
echo "Creating User autostart.conf"
cp "$SCRIPT_DIR/examples/autostart.conf.example" "$SCRIPT_DIR/config/autostart.conf"
fi
echo "The script will now install dependencies via pacman"