Files
dotfiles/hypr/bin/hyprlock-background.sh
T
2026-11-17 18:15:16 +07:00

6 lines
148 B
Bash

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