/ de-omarchy / bin / omarchy-restart-xcompose
swadhinbiswas Initial de-omarchy: Omarchy UI layer for Arch-based distros · 8/22/2026
9f393b2
11 lines · 473 Bytes
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

# omarchy:summary=Restart the XCompose input method service (fcitx5) to apply new compose key settings.

# A fcitx5 running outside the unit owns org.fcitx.Fcitx5, so the unit's
# instance would exit on arrival and the stale process would keep serving the
# old ~/.XCompose -- a restart that reports success and changes nothing.
systemctl --user stop omarchy-fcitx5.service
pkill -x fcitx5 >/dev/null 2>&1 || true
systemctl --user start omarchy-fcitx5.service