diff --git a/scripts/playtwitch/src/launch.zig b/scripts/playtwitch/src/launch.zig index d23f44a..99ff735 100644 --- a/scripts/playtwitch/src/launch.zig +++ b/scripts/playtwitch/src/launch.zig @@ -120,8 +120,8 @@ fn streamlinkThread(state: *State, channel: []const u8) !void { fn chattyThread(state: *State, child: std.ChildProcess, arena: std.heap.ArenaAllocator) !void { // no need to get the mutex here, chatty_alive is atomic - @atomicStore(bool, &state.chatty_alive, true, .Unordered); - defer @atomicStore(bool, &state.chatty_alive, false, .Unordered); + @atomicStore(bool, &state.chatty_alive, true, .unordered); + defer @atomicStore(bool, &state.chatty_alive, false, .unordered); var ch = child; defer arena.deinit(); diff --git a/scripts/playtwitch/src/live.zig b/scripts/playtwitch/src/live.zig index 4bfcabe..0002ff8 100644 --- a/scripts/playtwitch/src/live.zig +++ b/scripts/playtwitch/src/live.zig @@ -36,8 +36,8 @@ pub fn tryFetchChannelsLive(s: *State) void { } fn fetchChannelsLive(s: *State) !void { - @atomicStore(bool, &s.live_status_loading, true, .Unordered); - defer @atomicStore(bool, &s.live_status_loading, false, .Unordered); + @atomicStore(bool, &s.live_status_loading, true, .unordered); + defer @atomicStore(bool, &s.live_status_loading, false, .unordered); log.info("initiaizing cURL", .{}); const curl = c.curl_easy_init(); if (curl == null) @@ -96,12 +96,12 @@ fn fetchChannelsLive(s: *State) !void { } if (tries == 0) { - @atomicStore(State.Live, &chan.live, .err, .Unordered); + @atomicStore(State.Live, &chan.live, .err, .unordered); } if (std.mem.containsAtLeast(u8, page_buf.items, 1, "live_user")) { - @atomicStore(State.Live, &chan.live, .live, .Unordered); + @atomicStore(State.Live, &chan.live, .live, .unordered); } else { - @atomicStore(State.Live, &chan.live, .offline, .Unordered); + @atomicStore(State.Live, &chan.live, .offline, .unordered); } } } diff --git a/scripts/wlbg/build.zig.zon b/scripts/wlbg/build.zig.zon index 5b841f7..c6b3c38 100644 --- a/scripts/wlbg/build.zig.zon +++ b/scripts/wlbg/build.zig.zon @@ -8,8 +8,8 @@ .hash = "1220d6448c277e5c41348aa95ce2ba2fc92a92cb7a9e9783edf0f816cd0260122d31", }, .xev = .{ - .url = "git+https://github.com/mitchellh/libxev#2494978bedec01a856e8f3c47a33148ad1755fab", - .hash = "12203de3dbf9c235903c71122448ef031622ba8d64b250205934e2a65018b92b9717", + .url = "git+https://github.com/mitchellh/libxev#418cac65473668b02cc5a85194042bdaf04acd00", + .hash = "12203116ff408eb48f81c947dfeb06f7feebf6a9efa962a560ac69463098b2c04a96", }, }, } diff --git a/scripts/wlbg/src/Globals.zig b/scripts/wlbg/src/Globals.zig index 6425025..ed6b06d 100644 --- a/scripts/wlbg/src/Globals.zig +++ b/scripts/wlbg/src/Globals.zig @@ -28,7 +28,7 @@ const Collector = col: { }}; } break :col @Type(.{ .Struct = .{ - .layout = .Auto, + .layout = .auto, .fields = fields, .decls = &.{}, .is_tuple = false,