start of a major rewrite

This commit is contained in:
nova
2026-05-05 19:41:45 +02:00
parent b639ad3998
commit e5625ada08
12 changed files with 395 additions and 941 deletions

View File

@@ -40,7 +40,6 @@ char* preview_file(file *f){
char *file_buffer;
char *mime = get_mimetype(f);
#if SETTINGS_UEBERZUG_IMAGE_PREVIEW != 0
@@ -81,7 +80,7 @@ char* text(file *f){
}
}
char* generic(file *f){
static const char *cmd_str = "file ";
static const char *cmd_str = "file";
char *cmd = parse_cmd(cmd_str, f);
FILE *cmd_open = popen(cmd, "r");