mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 12:23:56 -05:00
sway/hyprland: gracefully skip wallpaper script if randomwallpaper is enabled
This commit is contained in:
parent
cd22a5d96b
commit
f8aa3388c0
|
@ -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}
|
||||||
|
|
|
@ -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";}
|
||||||
|
|
Loading…
Reference in a new issue