From 6ac76fddad885eb23ff019ae36a86c8bb487670b Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Wed, 15 Apr 2026 22:16:55 +0200 Subject: Fix application list not refreshing on each call --- config.def.h | 2 +- launcher.c | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/config.def.h b/config.def.h index 71efcdd..7a319d1 100644 --- a/config.def.h +++ b/config.def.h @@ -30,7 +30,7 @@ static const char *mic_muted_bg_color = "#222222"; static const char *mic_active_fg_color = "white"; static const char *mic_muted_fg_color = "white"; static const char *layout_tile_bg_color = "darkgreen"; -static const char *layout_float_bg_color = "#333333"; +static const char *layout_float_bg_color = "#222222"; static const char *layout_tile_fg_color = "white"; static const char *layout_float_fg_color = "white"; diff --git a/launcher.c b/launcher.c index 0346403..5e7f725 100644 --- a/launcher.c +++ b/launcher.c @@ -124,12 +124,7 @@ void toggle_launcher(const Arg *arg) { return; } - if (wm.launcher_items) { - load_usage(); - qsort(wm.launcher_items, wm.launcher_items_count, sizeof(LauncherItem), compare_launcher_items); - } else { - load_applications(); - } + load_applications(); wm.launcher_active = 1; wm.launcher_search[0] = '\0'; -- cgit v1.2.3