home-config/hypr/wallpaper.sh

a04498c0b18d6fdf7e600dd9c8b5e7db781c21f3 · 142 B · 9 lines raw

1 #!/bin/sh
2
3 sleep 2
4
5 # Get currently loaded image
6 IMG=`cat /tmp/$USER-desktop-anim | tail -n1`
7
8 # Load it for the monitors
9 swww img $IMG -o $1