made the .sh files executable

This commit is contained in:
Jürg Hallenbarter
2026-01-26 09:47:44 +00:00
parent 2a74834af0
commit b747e8c177

View File

@@ -28,7 +28,6 @@ ask_app() {
local app local app
while true; do while true; do
# -p prints prompt, -r prevents backslash escapes
read -rp "$label (default: $default): " app read -rp "$label (default: $default): " app
app="${app:-$default}" app="${app:-$default}"
@@ -43,7 +42,6 @@ ask_app() {
done done
} }
# ---------------------------- # ----------------------------
# Installer # Installer
# ---------------------------- # ----------------------------
@@ -97,7 +95,8 @@ echo "$BROWSER" > "$CFG_ROOT/settings/browser.sh"
echo "$FILEMANAGER" > "$CFG_ROOT/settings/filemanager.sh" echo "$FILEMANAGER" > "$CFG_ROOT/settings/filemanager.sh"
echo "$CALCULATOR" > "$CFG_ROOT/settings/calculator.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 # Copy i3 config to ~/.config/i3/config