sway/hyprland: gracefully skip wallpaper script if randomwallpaper is enabled

This commit is contained in:
Aly Raffauf 2024-05-26 03:33:31 -04:00
parent cd22a5d96b
commit f8aa3388c0
2 changed files with 2 additions and 2 deletions

View file

@ -158,7 +158,7 @@
# Execute necessary apps # Execute necessary apps
exec-once = ${ exec-once = ${
if config.alyraffauf.desktop.hyprland.randomWallpaper if config.alyraffauf.desktop.hyprland.randomWallpaper
then "" then "true"
else "${wallpaperd}" else "${wallpaperd}"
} }
exec-once = ${bar} exec-once = ${bar}

View file

@ -359,7 +359,7 @@
{ {
command = command =
if config.alyraffauf.desktop.sway.randomWallpaper if config.alyraffauf.desktop.sway.randomWallpaper
then "" then "true"
else "${wallpaperd}"; else "${wallpaperd}";
} }
{command = "${fileManager} --daemon";} {command = "${fileManager} --daemon";}