Add random effects to wallpaper change
This commit is contained in:
parent
62b8bf3643
commit
4385af8b9b
@ -32,7 +32,13 @@ newwall=$(echo $wallpaper | sed "s|$HOME/wallpaper/||g")
|
||||
# -----------------------------------------------------
|
||||
# Set the new wallpaper
|
||||
# -----------------------------------------------------
|
||||
swww img $wallpaper --transition-step 20 --transition-fps=20
|
||||
swww img $wallpaper \
|
||||
--transition-bezier .43,1.19,1,.4 \
|
||||
--transition-fps=60 \
|
||||
--transition-type="random" \
|
||||
--transition-duration=0.7 \
|
||||
--transition-pos "$( hyprctl cursorpos )"
|
||||
|
||||
~/dotfiles/waybar/launch.sh
|
||||
sleep 1
|
||||
|
||||
|
@ -37,7 +37,13 @@ if [ "$selected" ]; then
|
||||
# -----------------------------------------------------
|
||||
# Set the new wallpaper
|
||||
# -----------------------------------------------------
|
||||
swww img $wallpaper --transition-step 20 --transition-fps=20
|
||||
swww img $wallpaper \
|
||||
--transition-bezier .43,1.19,1,.4 \
|
||||
--transition-fps=60 \
|
||||
--transition-type="random" \
|
||||
--transition-duration=0.7 \
|
||||
--transition-pos "$( hyprctl cursorpos )"
|
||||
|
||||
~/dotfiles/waybar/launch.sh
|
||||
sleep 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user