diff --git a/modules/greetd/default.nix b/modules/greetd/default.nix index a49a6ce6..8d149c58 100644 --- a/modules/greetd/default.nix +++ b/modules/greetd/default.nix @@ -62,7 +62,7 @@ "env = WLR_NO_HARDWARE_CURSORS,1\n" ]) ++ [ - "exec-once = ${setupMonitors} &&" + "exec-once = ${setupMonitors} && sleep 0.1 &&" " swww init --no-cache &&" " swww img -t none ${pkgs.dracula-theme}/wallpapers/waves.png\n" diff --git a/modules/hyprland/style.nix b/modules/hyprland/style.nix index d462724f..ff6536d9 100644 --- a/modules/hyprland/style.nix +++ b/modules/hyprland/style.nix @@ -15,7 +15,7 @@ in { exec-once = [ "hyprctl setcursor Dracula-cursors 24" - "swww init --no-cache && swww img -t none ${pkgs.dracula-theme}/wallpapers/waves.png" + "sleep 0.1 && swww init --no-cache && swww img -t none ${pkgs.dracula-theme}/wallpapers/waves.png" ]; windowrule = [