ls but with io_uring

icons: add nix icon

rockorager.dev 0952f914 8f4e609a

verified
+7 -1
+7 -1
src/main.zig
··· 974 974 const json: Icon = .{ .icon = "", .color = Options.Colors.blue }; 975 975 const lua: Icon = .{ .icon = "󰢱", .color = Options.Colors.blue }; 976 976 const markdown: Icon = .{ .icon = "", .color = "" }; 977 + const nix: Icon = .{ .icon = "󱄅", .color = "\x1b[38:2:127:185:228m" }; 977 978 const python: Icon = .{ .icon = "", .color = Options.Colors.yellow }; 978 979 const rust: Icon = .{ .icon = "", .color = "" }; 979 980 const typescript: Icon = .{ .icon = "", .color = Options.Colors.blue }; 980 981 const zig: Icon = .{ .icon = "", .color = "\x1b[38:2:247:164:29m" }; 981 982 982 - const by_name: std.StaticStringMap(Icon) = .initComptime(.{}); 983 + const by_name: std.StaticStringMap(Icon) = .initComptime(.{ 984 + .{"flake.lock", Icon.nix}, 985 + }); 983 986 984 987 const by_extension: std.StaticStringMap(Icon) = .initComptime(.{ 985 988 .{ "cjs", Icon.javascript }, 986 989 .{ "css", Icon.css }, 990 + .{ "drv", Icon.nix }, 987 991 .{ "gif", Icon.image }, 988 992 .{ "go", Icon.go }, 989 993 .{ "html", Icon.html }, ··· 997 1001 .{ "mjs", Icon.javascript }, 998 1002 .{ "mkv", Icon.video }, 999 1003 .{ "mp4", Icon.video }, 1004 + .{ "nar", Icon.nix }, 1005 + .{ "nix", Icon.nix }, 1000 1006 .{ "png", Icon.image }, 1001 1007 .{ "py", Icon.python }, 1002 1008 .{ "rs", Icon.rust },