Allow the user to clone simple-hyprland anywhere

This commit is contained in:
Ben Record
2025-08-06 18:09:58 -06:00
parent 879dba81c8
commit d5bab50aed
7 changed files with 26 additions and 26 deletions

View File

@@ -1,10 +1,10 @@
#!/bin/bash
# Get the directory of the current script
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
BASE_DIR=$(realpath "$(dirname "${BASH_SOURCE[0]}")/../../")
# Source helper file
source $SCRIPT_DIR/helper.sh
source $BASE_DIR/scripts/installer/helper.sh
# Trap for unexpected exits
trap 'trap_message' INT TERM