#!/bin/bash

# omarchy:summary=Reload opencode configuration (used by the Omarchy theme switching).

# pkill exits 1 when no opencode is running: nothing to reload, not a failure.
pkill -SIGUSR2 -x opencode
(( $? <= 1 ))
