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
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