#!/bin/sh cd ~/.config/hypr/wallpaper ln -sf "$(find candidates/ -maxdepth 1 -type f | shuf -n1)" current.jpg # Update hyprlock (if running) by sending SIGUSR2 (doesnt work currently, maybe because of symlink). # https://wiki.hypr.land/Hypr-Ecosystem/hyprlock/#user-signals pkill -USR2 hyprlock