linux-wallpaperengine: migrate to lib.cli.toCommandLineGNU

Replace deprecated lib.cli.toGNUCommandLine with lib.cli.toCommandLineGNU. 
Should support the GNU style of convention.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman
2026-01-08 11:17:17 -05:00
committed by GitHub
parent f9ce7c5234
commit 246b8eaffb
3 changed files with 7 additions and 5 deletions

View File

@@ -117,7 +117,7 @@ in
args = lib.lists.forEach cfg.wallpapers (
each:
lib.concatStringsSep " " (
lib.cli.toGNUCommandLine { } {
lib.cli.toCommandLineGNU { } {
screen-root = each.monitor;
inherit (each) scaling fps;
inherit (each.audio) silent;
@@ -125,9 +125,11 @@ in
no-audio-processing = !each.audio.processing;
}
++ each.extraOptions
++ [
"--bg"
each.wallpaperId
]
)
# This has to be the last argument in each group
+ " --bg ${each.wallpaperId}"
);
in
{