1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-05 21:15:38 -05:00
Files
DankMaterialShell/qmlformat-all.sh
bbedward 21867c842f modules cleanup and qmlfmt everywhere
- throw in 24H clock fix and app drawer fix too
2025-09-03 23:26:07 -04:00

7 lines
248 B
Bash
Executable File

#!/usr/bin/env bash
# Find and format all QML files, then fix pragma ComponentBehavior
find . -name "*.qml" -exec sh -c '
qmlfmt -t 4 -i 4 -b 250 -w "$1"
sed -i "s/pragma ComponentBehavior$/pragma ComponentBehavior: Bound/g" "$1"
' _ {} \;