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:
parent
f9ce7c5234
commit
246b8eaffb
3 changed files with 7 additions and 5 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue