random transitions

This commit is contained in:
Adithya 2023-05-20 21:15:54 +05:30
parent ecde9184c3
commit 40fc938ac4
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

View file

@ -17,7 +17,7 @@ random_paper() {
}
swww query || swww init
convert "$(random_paper)" /tmp/wallpaper.jpg && swww img "/tmp/wallpaper.jpg"
convert "$(random_paper)" /tmp/wallpaper.jpg && swww img --transition-type random --transition-duration 1 "/tmp/wallpaper.jpg"
convert "$(random_paper)" /tmp/lockpaper.jpg
notify-send -r 9897 -i information -t 1000 "Wallpaper" "Wallpaper changed."