mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 21:42:51 -05:00
switch hto monorepo structure
This commit is contained in:
7
quickshell/qmlformat-all.sh
Executable file
7
quickshell/qmlformat-all.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/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"
|
||||
' _ {} \;
|
||||
Reference in New Issue
Block a user