mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
13 lines
391 B
Bash
13 lines
391 B
Bash
echo "Update hyprlock font to match current system font"
|
|
|
|
font_name=$(omarchy-font-current)
|
|
|
|
if [[ -n $font_name ]]; then
|
|
cp ~/.config/hypr/hyprlock.conf ~/.config/hypr/hyprlock.conf.bak.$(date +%s)
|
|
|
|
echo "Found font '$font_name', updating hyprlock"
|
|
sed -i "s/font_family = .*/font_family = $font_name/g" ~/.config/hypr/hyprlock.conf
|
|
else
|
|
echo "No font found, skipping migration"
|
|
fi
|