From a2aa7ee00a469165a908a4568f77921e8167cd48 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sat, 15 Jun 2024 22:55:33 -0400 Subject: [PATCH] hyprland: sleep 1 second before setting wallpaper to avoid failure --- homeManagerModules/desktop/hyprland/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homeManagerModules/desktop/hyprland/default.nix b/homeManagerModules/desktop/hyprland/default.nix index 0b94d700..8f7aed22 100644 --- a/homeManagerModules/desktop/hyprland/default.nix +++ b/homeManagerModules/desktop/hyprland/default.nix @@ -34,6 +34,8 @@ OLD_PIDS=() directory=${config.home.homeDirectory}/.local/share/backgrounds + sleep 1 + if [ -d "$directory" ]; then while true; do NEW_PIDS=()