From 2fcaf4b6ff7f3902fd2cc58e9a6ea25df3415560 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 5 Jan 2026 10:49:38 +0100 Subject: [PATCH] Extract all restart commands in consistent wrappers --- bin/omarchy-restart-btop | 3 +++ bin/omarchy-restart-hyprctl | 3 +++ bin/omarchy-restart-mako | 3 +++ bin/omarchy-theme-set | 7 +++---- 4 files changed, 12 insertions(+), 4 deletions(-) create mode 100755 bin/omarchy-restart-btop create mode 100755 bin/omarchy-restart-hyprctl create mode 100755 bin/omarchy-restart-mako diff --git a/bin/omarchy-restart-btop b/bin/omarchy-restart-btop new file mode 100755 index 00000000..a714c88e --- /dev/null +++ b/bin/omarchy-restart-btop @@ -0,0 +1,3 @@ +#!/bin/bash + +pkill -SIGUSR2 btop diff --git a/bin/omarchy-restart-hyprctl b/bin/omarchy-restart-hyprctl new file mode 100755 index 00000000..ff17f78d --- /dev/null +++ b/bin/omarchy-restart-hyprctl @@ -0,0 +1,3 @@ +#!/bin/bash + +hyprctl reload >/dev/null diff --git a/bin/omarchy-restart-mako b/bin/omarchy-restart-mako new file mode 100755 index 00000000..e9ff2cfa --- /dev/null +++ b/bin/omarchy-restart-mako @@ -0,0 +1,3 @@ +#!/bin/bash + +makoctl reload diff --git a/bin/omarchy-theme-set b/bin/omarchy-theme-set index d3cce590..c2fae4a9 100755 --- a/bin/omarchy-theme-set +++ b/bin/omarchy-theme-set @@ -47,10 +47,9 @@ if pgrep -x waybar >/dev/null; then fi omarchy-restart-swayosd omarchy-restart-terminal -hyprctl reload >/dev/null -pkill -SIGUSR2 btop -# pkill -SIGUSR2 opencode -makoctl reload +omarchy-restart-hyprctl +omarchy-restart-btop +omarchy-restart-mako # Change app-specific themes omarchy-theme-set-gnome