swww -> awww

This commit is contained in:
2026-03-28 03:03:16 +08:00
parent 31c2797f44
commit e8e33898be
3 changed files with 8 additions and 8 deletions

View File

@@ -36,8 +36,8 @@ while [[ $# -gt 0 ]]; do
esac
done
if ! command -v swww >/dev/null 2>&1; then
echo "!) 'swww' command not found. Unable to comply." >&2
if ! command -v awww >/dev/null 2>&1; then
echo "!) 'awww' command not found. Unable to comply." >&2
exit 2
fi
@@ -74,8 +74,8 @@ set_wallpaper() {
$IMG_MAGICK $WP_DIR/.wallpaper -filter Gaussian -blur 0x30 $WP_DIR/.wallpaper_blur
echo "Done."
swww img $WP_DIR/.wallpaper
swww img $WP_DIR/.wallpaper_blur --namespace blur
awww img $WP_DIR/.wallpaper
awww img $WP_DIR/.wallpaper_blur --namespace blur
}
imagepool=()