Cache write is now controlled by the mode, this allows for greater flexibility with caching

This commit is contained in:
Scoopta
2019-11-16 14:52:20 -08:00
parent 0f78b557b5
commit 7573eecb02
5 changed files with 70 additions and 57 deletions

View File

@@ -43,6 +43,8 @@ struct cache_line {
void wofi_init(struct map* config);
void wofi_write_cache(const gchar* mode, const gchar* cmd);
struct wl_list* wofi_read_cache(char* mode);
void wofi_insert_widget(char* mode, char** text, char* search_text, char** actions, size_t action_count);