Features: - Direct Input Engine (no pre-edit buffer, no underline) - Telex + VNI input methods - Auto-restore English words - ESC undo (strip tones) - Smart per-app memory - Macro expansion (ko→không, dc→được, vs→với, lm→làm) - Triple backend: uinput, X11 XTEST, Wayland IM - Hot-reload config - 148 tests passing Packaging: - .deb package - AppImage support - AUR PKGBUILD - Flatpak manifest - Systemd user service
15 lines
405 B
Bash
15 lines
405 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
# Stop and disable systemd user service
|
|
if systemctl --user is-active vietc.service 2>/dev/null; then
|
|
systemctl --user stop vietc.service 2>/dev/null || true
|
|
fi
|
|
if systemctl --user is-enabled vietc.service 2>/dev/null; then
|
|
systemctl --user disable vietc.service 2>/dev/null || true
|
|
fi
|
|
|
|
# Kill any running vietc
|
|
pkill -x vietc 2>/dev/null || true
|
|
|
|
echo "Viet+ daemon stopped."
|