Skip to content

Commit

Permalink
cli: only print out DE when using the GTK apprt
Browse files Browse the repository at this point in the history
  • Loading branch information
jcollie committed Jan 3, 2025
1 parent c89df01 commit 3c93f00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/version.zig
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ pub fn run(alloc: Allocator) !u8 {
try stdout.print(" - font engine: {}\n", .{build_config.font_backend});
try stdout.print(" - renderer : {}\n", .{renderer.Renderer});
try stdout.print(" - libxev : {}\n", .{xev.backend});
try stdout.print(" - desktop env: {s}\n", .{@tagName(internal_os.desktopEnvironment())});
if (comptime build_config.app_runtime == .gtk) {
try stdout.print(" - desktop env: {s}\n", .{@tagName(internal_os.desktopEnvironment())});
try stdout.print(" - GTK version:\n", .{});
try stdout.print(" build : {d}.{d}.{d}\n", .{
gtk.GTK_MAJOR_VERSION,
Expand Down

0 comments on commit 3c93f00

Please sign in to comment.