Restart terminal (reload config) when changing font as well

This doesn't work for Ghostty (yet?) but it does work for Kitty
This commit is contained in:
David Heinemeier Hansson
2025-11-05 11:59:49 +01:00
parent a40ff463c9
commit 904d253b4d
3 changed files with 2 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ if [[ -n "$font_name" && "$font_name" != "CNCLD" ]]; then
-v "$font_name" \
~/.config/fontconfig/fonts.conf
omarchy-restart-terminal
omarchy-restart-waybar
omarchy-restart-swayosd
omarchy-restart-walker

View File

@@ -28,12 +28,12 @@ if pgrep -x waybar >/dev/null; then
omarchy-restart-waybar
fi
omarchy-restart-swayosd
omarchy-restart-terminal
hyprctl reload
pkill -SIGUSR2 btop
makoctl reload
# Change gnome, browser, vscode, cursor themes
omarchy-theme-set-terminal
omarchy-theme-set-gnome
omarchy-theme-set-browser
omarchy-theme-set-vscode