39 lines
1.3 KiB
Bash
Executable File
39 lines
1.3 KiB
Bash
Executable File
#!/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."
|