fix: start_enabled=true by default, log daemon to file instead of /dev/null

This commit is contained in:
Khoa Vo 2026-06-26 09:09:04 +07:00
parent 1a83773f59
commit db3d0cefcd
2 changed files with 2 additions and 2 deletions

View file

@ -208,7 +208,7 @@ fi
if [ -z "$NEED_ROOT" ]; then if [ -z "$NEED_ROOT" ]; then
# X11: no root needed # X11: no root needed
pkill -x vietc 2>/dev/null; sleep 0.3 pkill -x vietc 2>/dev/null; sleep 0.3
"$HERE/usr/bin/vietc" >/dev/null & "$HERE/usr/bin/vietc" >"$HERE/vietc-daemon.log" 2>&1 &
DAEMON_PID=$! DAEMON_PID=$!
else else
# Fix Wayland env for root: sudo resets XDG_RUNTIME_DIR, breaking wtype/wl-copy. # Fix Wayland env for root: sudo resets XDG_RUNTIME_DIR, breaking wtype/wl-copy.

View file

@ -2,7 +2,7 @@
input_method = "vni" input_method = "vni"
toggle_key = "space" toggle_key = "space"
start_enabled = false start_enabled = true
grab = true grab = true
[auto_restore] [auto_restore]