mirror of
https://github.com/NohamR/xovi-qmd-extensions.git
synced 2026-07-11 19:19:56 +00:00
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.
34 lines
654 B
Bash
Executable File
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." |