2024-12-12 00:03 : id 343

This commit is contained in:
deadvey 2024-12-12 00:03:54 +00:00
parent 47a4420f30
commit d8f03af5ad

View File

@ -98,8 +98,9 @@ in
while [ 1 == 1 ]; do while [ 1 == 1 ]; do
new_file=$(cat $HOME/.config/hypr/hyprpaper.conf) new_file=$(cat $HOME/.config/hypr/hyprpaper.conf)
if [[ "$new_file" != "$file" ]]; then if [[ "$new_file" != "$file" ]]; then
echo "restarting hyprpaper"
kill $(pgrep hyprpaper) kill $(pgrep hyprpaper)
sleep 0.2 sleep 1
hyprpaper & hyprpaper &
fi fi
file=$new_file file=$new_file