guix-dotfiles/home-config/hypr/wallpaper.sh

10 lines
142 B
Bash
Executable file

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