From 310a5b1d5a3f8548d4313be9837a9b56d303bf09 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 16 Sep 2025 19:10:34 +0200 Subject: [PATCH] Set font for ghostty too if its on the system --- bin/omarchy-font-set | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/omarchy-font-set b/bin/omarchy-font-set index eabdfc2d..5ac0ef4b 100755 --- a/bin/omarchy-font-set +++ b/bin/omarchy-font-set @@ -13,6 +13,11 @@ if [[ -n "$font_name" && "$font_name" != "CNCLD" ]]; then pkill -USR1 kitty fi + if [[ -f ~/.config/ghostty/config ]]; then + sed -i "s/font-family = \".*\"/font-family = \"$font_name\"/g" ~/.config/ghostty/config + pkill -SIGUSR2 ghostty + fi + sed -i "s/font-family: .*/font-family: '$font_name';/g" ~/.config/waybar/style.css sed -i "s/font-family: .*/font-family: '$font_name';/g" ~/.config/swayosd/style.css xmlstarlet ed -L \