From 70e1442be103609fd79249fa16a02ac348b53106 Mon Sep 17 00:00:00 2001 From: ramforth Date: Fri, 14 Nov 2025 19:22:40 +0100 Subject: [PATCH] feat: Add install.sh script for automated setup --- install.sh | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100755 install.sh diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..0cb4741 --- /dev/null +++ b/install.sh @@ -0,0 +1,38 @@ +#!/bin/bash + +# This script automates the installation of Hyprland dotfiles. +# +# IMPORTANT: This script assumes you have already installed Hyprland and its dependencies. +# It also assumes you have a basic understanding of your system's package manager +# to install necessary applications like Waybar, Kitty, etc. + +echo "Starting Hyprland dotfiles installation..." + +# Define source and destination directories +DOTFILES_DIR="$(dirname "$(readlink -f "$0")")" +CONFIG_DIR="$HOME/.config" + +echo "Dotfiles source: $DOTFILES_DIR" +echo "Config destination: $CONFIG_DIR" + +# Create .config directory if it doesn't exist +mkdir -p "$CONFIG_DIR" + +# Copy Hyprland configuration +echo "Copying Hyprland configurations..." +cp -r "$DOTFILES_DIR/hypr" "$CONFIG_DIR/" + +# Copy Waybar configuration +echo "Copying Waybar configurations..." +cp -r "$DOTFILES_DIR/waybar" "$CONFIG_DIR/" + +# Copy Kitty configuration +echo "Copying Kitty configurations..." +cp -r "$DOTFILES_DIR/kitty" "$CONFIG_DIR/" + +# Copy other configurations (e.g., wallpaper_effects) +echo "Copying wallpaper_effects..." +cp -r "$DOTFILES_DIR/wallpaper_effects" "$CONFIG_DIR/" + +echo "Dotfiles installation complete. Please ensure all necessary applications (Hyprland, Waybar, Kitty, etc.) are installed via your system's package manager." +echo "You may need to reboot or log out and back in for changes to take effect."