Clarify testjson.sh output, fix json files

This commit is contained in:
Tri Nguyen 2019-03-30 23:40:50 +07:00
parent 0207e7fe16
commit bf6b39adba
3 changed files with 6 additions and 4 deletions

View file

@ -1,3 +1,5 @@
#!/bin/sh
find themes/ -name "*.json"|grep -v invalid|xargs cat|json_verify -s
find themes/ -name "*.json"|grep -v invalid|
while read f; do
cat "$f" | json_verify 2>&1 > /dev/null | sed "1 s@\(.*error\)@\nError in $f\n\1@g"
done

View file

@ -124,7 +124,7 @@
"new": { "prefix": "[n]" },
"modified": { "prefix": "[m]" },
"deleted": { "prefix": "[d]" }
}
},
"dunst": {
"muted": { "prefix": "dunst(muted)"},
"unmuted": { "prefix": "dunst" }

View file

@ -158,7 +158,7 @@
},
"taskwarrior": {
"prefix": "\uf454"
}
},
"dunst": {
"muted": { "prefix": "\uf39a"},
"unmuted": { "prefix": "\uf39b" }