diff options
| author | Loek Le Blansch <loek@pipeframe.xyz> | 2026-05-25 11:40:14 +0200 |
|---|---|---|
| committer | Loek Le Blansch <loek@pipeframe.xyz> | 2026-05-25 11:40:14 +0200 |
| commit | a680f20614b6845781f930980e49e38feb71e810 (patch) | |
| tree | 69c274150364e315c59fae9ba2f1256ca272e0aa /.local/share/bin/mozc-config-filter | |
| parent | 5a9ceb7b017187741ea725800236321dbc61068a (diff) | |
Diffstat (limited to '.local/share/bin/mozc-config-filter')
| -rwxr-xr-x | .local/share/bin/mozc-config-filter | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.local/share/bin/mozc-config-filter b/.local/share/bin/mozc-config-filter new file mode 100755 index 0000000..bc33c20 --- /dev/null +++ b/.local/share/bin/mozc-config-filter @@ -0,0 +1,6 @@ +#!/bin/sh +yay_dir="$(jq --raw-output .buildDir "$XDG_CONFIG_HOME/yay/config.json")" +config_proto="$(mktemp)" +git --git-dir="$yay_dir/mozc-ut/mozc" show HEAD:src/protocol/config.proto > "$config_proto" +protoc --proto_path /tmp --decode=mozc.config.Config "$config_proto" < "$1" +rm -f "$config_proto" |