Use a flock-based lock file at $XDG_RUNTIME_DIR/owlry/owlry-ui.lock to detect when another owlry UI instance is already running. If the lock is held, send a Toggle IPC command to the daemon and exit immediately instead of opening a second window.