diff --git a/install.sh b/install.sh index d37f195..3739b44 100755 --- a/install.sh +++ b/install.sh @@ -28,7 +28,6 @@ ask_app() { local app while true; do - # -p prints prompt, -r prevents backslash escapes read -rp "$label (default: $default): " app app="${app:-$default}" @@ -43,7 +42,6 @@ ask_app() { done } - # ---------------------------- # Installer # ---------------------------- @@ -97,7 +95,8 @@ echo "$BROWSER" > "$CFG_ROOT/settings/browser.sh" echo "$FILEMANAGER" > "$CFG_ROOT/settings/filemanager.sh" echo "$CALCULATOR" > "$CFG_ROOT/settings/calculator.sh" -chmod +x "$CFG_ROOT/i3/"*.sh +# Make all .sh scripts executable +find "$CFG_ROOT/settings" -type f -name "*.sh" -exec chmod +x {} \; # ---------------------------- # Copy i3 config to ~/.config/i3/config @@ -119,4 +118,4 @@ fi echo echo "✓ Done" echo -echo "Reload i3 with: Super + Shift + C" +echo "Reload i3 with: Super + Shift + C" \ No newline at end of file