Bundle all the icons together.

This commit is contained in:
Greyson Parrelli
2026-08-20 14:19:30 -04:00
parent a742b51d3b
commit db69dc41b2
25 changed files with 204 additions and 0 deletions
+5
View File
@@ -12,6 +12,7 @@ const gio = @import("gio");
const Settings = @import("Settings.zig");
const Window = @import("Window.zig");
const appearance = @import("appearance.zig");
const icons = @import("icons.zig");
/// libghostty-vt logs unimplemented sequences at debug level, which is very
/// chatty against a real shell. Keep the app's own warnings and errors.
@@ -50,6 +51,10 @@ fn onActivate(app: *adw.Application, _: ?*anyopaque) callconv(.c) void {
// user chose rather than repainted into it a moment later.
appearance.init();
// Same reasoning: the bundled icons are registered before anything asks
// for one by name.
icons.init();
const window = Window.create(gpa.allocator(), app) catch |err| {
std.log.err("failed to create window: {s}", .{@errorName(err)});
return;