Код: Выделить всё
sed "s| screenshot |"$imgpath"|g" "$HOME"/.config/ags/scripts/templates/hypr/hyprlock.conf > "$HOME"/.config/hypr/hyprlock.conf
Подробнее здесь: https://stackoverflow.com/questions/794 ... -in-script
Код: Выделить всё
sed "s| screenshot |"$imgpath"|g" "$HOME"/.config/ags/scripts/templates/hypr/hyprlock.conf > "$HOME"/.config/hypr/hyprlock.conf