diff options
author | Ryan Schanzenbacher <ryan@rschanz.org> | 2023-11-07 20:42:30 -0500 |
---|---|---|
committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2023-11-07 20:42:30 -0500 |
commit | 121b0c3b6a68ee7df4c31ef11780be0a07da0810 (patch) | |
tree | 9b6b362cd9b971850e015c6b03ec2ef52f2824f2 /home-config/hypr/wallpaper.sh | |
parent | 3b3b1f7ff013d770865dbf5f284f6e7328e0d7b3 (diff) |
wallpaper daemon
Diffstat (limited to 'home-config/hypr/wallpaper.sh')
-rwxr-xr-x | home-config/hypr/wallpaper.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/home-config/hypr/wallpaper.sh b/home-config/hypr/wallpaper.sh index 7d9ea21..ac2c627 100755 --- a/home-config/hypr/wallpaper.sh +++ b/home-config/hypr/wallpaper.sh | |||
@@ -1,6 +1,9 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | # Eventually allow for multiple animated backgrounds to be rotated. | 3 | sleep 2 |
4 | # Right now just reset the current image for when outputs are changed | ||
5 | 4 | ||
6 | swww img ~/.config/hypr/Wallpapers/above-clouds.jpg | 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 | ||