diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-04-15 22:16:55 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-04-15 22:16:55 +0200 |
| commit | 6ac76fddad885eb23ff019ae36a86c8bb487670b (patch) | |
| tree | 2171c4cda335940d604156e78c56ae3f23b66461 | |
| parent | 9b0d35aa6c6fb995f6a15906a43fd50b3a58f822 (diff) | |
| download | glitch-6ac76fddad885eb23ff019ae36a86c8bb487670b.tar.gz | |
Fix application list not refreshing on each call
| -rw-r--r-- | config.def.h | 2 | ||||
| -rw-r--r-- | 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"; @@ -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'; |
