#!/bin/sh # fcitx5_pid=$(pgrep -f fcitx5 | head -n1) # # if [ -z "$fcitx5_pid" ]; then # echo "echo 'No terminal process found matching: fcitx5' >&2" # exit 1 # fi # # fcitx5_dbus=$(tr '\0' '\n'