From c1d5e5a21bc75899c3b366f96c63a2bb861d5561 Mon Sep 17 00:00:00 2001 From: Null Date: Mon, 7 Apr 2025 21:42:02 -0300 Subject: [PATCH] default image copy add --- build.zig | 6 ++++++ res/config.ini | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/build.zig b/build.zig index f0e9074..fad4536 100644 --- a/build.zig +++ b/build.zig @@ -271,6 +271,12 @@ fn install_ly(allocator: std.mem.Allocator, install_config: bool) !void { const patched_setup = try patchFile(allocator, "res/setup.sh", patch_map); try installText(patched_setup, config_dir, ly_config_directory, "setup.sh", .{ .mode = 0o755 }); + + + + + const patched_setup = try patchFile(allocator, "res/default_img.lyim", patch_map); + try installText(patched_setup, config_dir, ly_config_directory, "default_img.lyimñ", .{ .mode = 0o755 }); } } diff --git a/res/config.ini b/res/config.ini index 9cc5dbf..9f26504 100644 --- a/res/config.ini +++ b/res/config.ini @@ -36,7 +36,7 @@ # image -> Image animation = image -image_path = /etc/ly/Img.lyim +image_path = /etc/ly/default_img.lyim # Stop the animation after some time # 0 -> Run forever # 1..2e12 -> Stop the animation after this many seconds