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
exec-once = ${
if config.alyraffauf.desktop.hyprland.randomWallpaper
then ""
then "true"
else "${wallpaperd}"
}
exec-once = ${bar}

View file

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