updated hyprlock-background.sh script

This commit is contained in:
wt committed 2024-11-23 00:06:54 +07:00
1 parent b61f61d07e
commit 64a69b73a8
2 files changed
+2 -3

No files matched your search

+1 -2
View File
@@ -1,6 +1,5 @@
#!/bin/sh
background=$(ls ~/Pictures/wallpaper/*.png | shuf -n 1)
sed -i "s|.*Pictures.*|\tpath = $background|" ../hyprlock.conf
sleep 1
sed -i "s|.*Pictures.*|\tpath = $background|" ~/dotfiles/hypr/hyprlock.conf
hyprlock