randomwallpaper uses zoom fill mode

This commit is contained in:
LordMZTE 2022-01-02 22:52:46 +01:00
parent c85a7ff444
commit f2ba812235

View file

@ -38,7 +38,7 @@ fn updateWallpapers(display: *Display, alloc: mem.Allocator) !void {
var buf: [10]u8 = undefined; var buf: [10]u8 = undefined;
const args = [_][]const u8{ "nitrogen", "--random", "--set-scaled", try std.fmt.bufPrint(&buf, "--head={}", .{i}) }; const args = [_][]const u8{ "nitrogen", "--random", "--set-zoom-fill", try std.fmt.bufPrint(&buf, "--head={}", .{i}) };
var child = try std.ChildProcess.init(&args, alloc); var child = try std.ChildProcess.init(&args, alloc);
try child.spawn(); try child.spawn();