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

6 lines
139 B
Bash
Executable File

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