Extract all restart commands in consistent wrappers

This commit is contained in:
David Heinemeier Hansson
2026-01-05 10:49:38 +01:00
parent 13149f5fc9
commit 2fcaf4b6ff
4 changed files with 12 additions and 4 deletions

3
bin/omarchy-restart-btop Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
pkill -SIGUSR2 btop

3
bin/omarchy-restart-hyprctl Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
hyprctl reload >/dev/null

3
bin/omarchy-restart-mako Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
makoctl reload

View File

@@ -47,10 +47,9 @@ if pgrep -x waybar >/dev/null; then
fi fi
omarchy-restart-swayosd omarchy-restart-swayosd
omarchy-restart-terminal omarchy-restart-terminal
hyprctl reload >/dev/null omarchy-restart-hyprctl
pkill -SIGUSR2 btop omarchy-restart-btop
# pkill -SIGUSR2 opencode omarchy-restart-mako
makoctl reload
# Change app-specific themes # Change app-specific themes
omarchy-theme-set-gnome omarchy-theme-set-gnome