Files
dotfiles/hypr/bin/hyprlock-background.sh
T

6 lines
152 B
Bash
Executable File

#!/bin/sh
background=$(ls ~/Pictures/wallpaper/*.png | shuf -n 1)
sed -i "s|.*Pictures.*|\tpath = $background|" ~/dotfiles/hypr/hyprlock.conf
hyprlock