Files
hypr/install.sh
T

19 lines
716 B
Bash
Executable File

SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
WALLPAPER_DIR=$(scripts/install/wallpaper_dir.sh)
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"
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"
fi
echo "The script will now install dependencies via pacman"
sudo pacman -S --needed hyprland-qt-support hyprcursor hypridle hyprlock hypridle