mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user