update scripts to latest zig

This commit is contained in:
LordMZTE 2023-10-24 17:40:16 +02:00
parent f182e76912
commit 77ad088445
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6
2 changed files with 2 additions and 2 deletions

View file

@ -146,7 +146,7 @@ pub fn populateEnvironment(env: *std.process.EnvMap) !bool {
// racket bins
racket: {
try msg("acquiring racket binary path...", .{});
const res = std.ChildProcess.exec(.{
const res = std.process.Child.run(.{
.allocator = alloc,
.argv = &.{
"racket",

View file

@ -60,7 +60,7 @@ fn walkLocalWps(walker: *Walker, home_s: []const u8) !void {
}
fn setWallpapersSwww(alloc: std.mem.Allocator, wps: []const []const u8) !u8 {
const exec_res = try std.process.Child.exec(.{
const exec_res = try std.process.Child.run(.{
.allocator = alloc,
.argv = &.{ "swww", "query" },
});