From 7bafe2c4509a364b22e26f5cb4686b3ad896fad0 Mon Sep 17 00:00:00 2001 From: Romain Vigier Date: Tue, 5 Apr 2022 12:07:19 +0200 Subject: [PATCH] Utils: Remove hard-coded installed GTK themes --- src/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.js b/src/utils.js index 17138a1..a72111c 100644 --- a/src/utils.js +++ b/src/utils.js @@ -73,7 +73,7 @@ function getInstalledResources(type) { * @returns {Set} A set containing all the installed GTK themes names. */ function getInstalledGtkThemes() { - const themes = new Set(['Adwaita', 'HighContrast', 'HighContrastInverse']); + const themes = new Set(); getInstalledResources('themes').forEach(theme => { const version = [0, Gtk.MINOR_VERSION].find(gtkVersion => { if (gtkVersion % 2)