aboutsummaryrefslogtreecommitdiff
path: root/.local/share/bin
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2026-05-25 11:40:14 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2026-05-25 11:40:14 +0200
commita680f20614b6845781f930980e49e38feb71e810 (patch)
tree69c274150364e315c59fae9ba2f1256ca272e0aa /.local/share/bin
parent5a9ceb7b017187741ea725800236321dbc61068a (diff)
mozc keybind updateHEADmaster
Diffstat (limited to '.local/share/bin')
-rwxr-xr-x.local/share/bin/mozc-config-filter6
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"