From f8aa3388c0b6e12ebae0075bcfb2434fbd5c41b1 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 26 May 2024 03:33:31 -0400 Subject: [PATCH] sway/hyprland: gracefully skip wallpaper script if randomwallpaper is enabled --- homeManagerModules/desktop/hyprland/default.nix | 2 +- homeManagerModules/desktop/sway/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/homeManagerModules/desktop/hyprland/default.nix b/homeManagerModules/desktop/hyprland/default.nix index 279b1271..7047d561 100644 --- a/homeManagerModules/desktop/hyprland/default.nix +++ b/homeManagerModules/desktop/hyprland/default.nix @@ -158,7 +158,7 @@ # Execute necessary apps exec-once = ${ if config.alyraffauf.desktop.hyprland.randomWallpaper - then "" + then "true" else "${wallpaperd}" } exec-once = ${bar} diff --git a/homeManagerModules/desktop/sway/default.nix b/homeManagerModules/desktop/sway/default.nix index 894457d8..1e95f2b8 100644 --- a/homeManagerModules/desktop/sway/default.nix +++ b/homeManagerModules/desktop/sway/default.nix @@ -359,7 +359,7 @@ { command = if config.alyraffauf.desktop.sway.randomWallpaper - then "" + then "true" else "${wallpaperd}"; } {command = "${fileManager} --daemon";}