From 40028a7fa90dc22960491b3346cc9d1b8389adee Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 5 Jan 2026 15:22:52 +0100 Subject: [PATCH] Reload the opencode config when changing themes --- bin/omarchy-restart-opencode | 5 +++++ bin/omarchy-theme-set | 1 + 2 files changed, 6 insertions(+) create mode 100755 bin/omarchy-restart-opencode diff --git a/bin/omarchy-restart-opencode b/bin/omarchy-restart-opencode new file mode 100755 index 00000000..2ff22d3e --- /dev/null +++ b/bin/omarchy-restart-opencode @@ -0,0 +1,5 @@ +#!/bin/bash + +# Reload opencode configuration (used by the Omarchy theme switching). + +killall -SIGUSR2 opencode diff --git a/bin/omarchy-theme-set b/bin/omarchy-theme-set index c2fae4a9..4132d3b8 100755 --- a/bin/omarchy-theme-set +++ b/bin/omarchy-theme-set @@ -49,6 +49,7 @@ omarchy-restart-swayosd omarchy-restart-terminal omarchy-restart-hyprctl omarchy-restart-btop +omarchy-restart-opencode omarchy-restart-mako # Change app-specific themes