Files
xovi-qmd-extensions/hash.sh
√(noham)² 5c8ee270fc Add alarm support to quick timer
Extends the quick settings timer/chrono module with recurring alarms, alarm persistence, notification handling, and light blinking on alerts. Updates the system clock settings UI, README, hash config, and screenshots to match the new alarm flow.
2026-07-06 22:11:49 +02:00

34 lines
654 B
Bash
Executable File

#!/bin/bash
# Configuration
QMLDIFF="./qmldiff"
HASHTAB="hashtabs/hashtab_3.26.0.68"
# Usage
if [ $# -lt 1 ]; then
echo "Usage: $0 <folder> [-r]"
echo "Example: $0 /path/to/folder"
echo " $0 /path/to/folder -r"
exit 1
fi
FOLDER="$1"
REVERSE_FLAG="$2"
# Check if folder exists
if [ ! -d "$FOLDER" ]; then
echo "Error: Folder not found → $FOLDER"
exit 1
fi
# Process each .qmd file in the folder
for file in "$FOLDER"/*.qmd; do
if [ -f "$file" ]; then
echo "Processing: $file"
"$QMLDIFF" hash-diffs "$HASHTAB" "$file" $REVERSE_FLAG
echo "✅ Done: $file"
echo
fi
done
echo "All files processed successfully."