swww -> awww

This commit is contained in:
EdenQwQ 2026-02-21 12:24:04 +08:00
parent 8275c96e4f
commit ce73753052
9 changed files with 143 additions and 68 deletions

View file

@ -6,8 +6,8 @@ if [ -z $wall ]; then
exit 1
fi
output=$(niri msg -j focused-output | jq -r .name)
swww img -o $output $wallpapers_dir/$wall --transition-type random --transition-duration 1 --namespace background
awww img -o $output $wallpapers_dir/$wall --transition-type random --transition-duration 1 --namespace background
blurwall=$(echo $wall | sed 's/\.jpg$/-blurred.jpg/')
swww img -o $output $wallpapers_dir/$blurwall --transition-type fade --namespace backdrop
awww img -o $output $wallpapers_dir/$blurwall --transition-type fade --namespace backdrop
echo $wall > $HOME/Pictures/Wallpapers/"$output"-file
echo $blurwall > $HOME/Pictures/Wallpapers/"$output"-blurred-file

View file

@ -4,4 +4,4 @@ wall=$(yad --file)
if [[ $wall == "" ]]; then
exit
fi
swww img $wall --transition-type random --transition-duration 1
awww img $wall --transition-type random --transition-duration 1