mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-28 07:22:50 -05:00
modules cleanup and qmlfmt everywhere
- throw in 24H clock fix and app drawer fix too
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# https://github.com/jesperhh/qmlfmt
|
||||
find . -name "*.qml" -exec qmlfmt -t 4 -i 4 -b 250 -w {} \;
|
||||
# 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