Just use existing logic for setting theme bg

This commit is contained in:
David Heinemeier Hansson
2025-07-17 15:29:57 -07:00
parent e2c8e3ccfe
commit 296e232151

View File

@ -49,9 +49,4 @@ makoctl reload
hyprctl reload hyprctl reload
# Set new background # Set new background
first_bg=$(find "$HOME/.config/omarchy/current/backgrounds/" -type f | head -n 1) omarchy-theme-bg-next
if [[ -n "$first_bg" ]]; then
ln -nsf "$first_bg" "$HOME/.config/omarchy/current/background"
pkill -x swaybg
setsid swaybg -i "$HOME/.config/omarchy/current/background" -m fill >/dev/null &
fi