From 78a150fb351459746a653cfce9a03bad87c40cc4 Mon Sep 17 00:00:00 2001 From: JGH Date: Mon, 26 Jan 2026 09:15:48 +0000 Subject: [PATCH] Fix i3 config file path check and error message Updated the i3 config file installation path check and error message. --- install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index cb2e17c..d37f195 100755 --- a/install.sh +++ b/install.sh @@ -106,10 +106,10 @@ echo echo "Installing i3 config → ~/.config/i3/config" mkdir -p "$I3_DIR" -if [ -f "$CFG_ROOT/i3/config/config" ]; then - cp "$CFG_ROOT/i3/config/config" "$I3_DIR/config" +if [ -f "$CFG_ROOT/i3/config" ]; then + cp "$CFG_ROOT/i3/config" "$I3_DIR/config" else - echo "Error: i3 config file not found in $CFG_ROOT/i3/config/" + echo "Error: i3 config file not found in $CFG_ROOT/i3/" exit 1 fi @@ -119,4 +119,4 @@ fi echo echo "✓ Done" echo -echo "Reload i3 with: Super + Shift + C" \ No newline at end of file +echo "Reload i3 with: Super + Shift + C"