diff options
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | utils.patch | 23 |
2 files changed, 27 insertions, 0 deletions
@@ -25,6 +25,10 @@ build() { patch src/menu.c < ../menu.patch patch src/openbox-menu.h < ../openbox-menu.patch + + # Change the icons default resolution from 16x16 to 48x48. + patch src/utils.c < ../utils.patch + make } diff --git a/utils.patch b/utils.patch new file mode 100644 index 000000000000..10594fbe686f --- /dev/null +++ b/utils.patch @@ -0,0 +1,23 @@ +--- utils.c 2024-04-02 13:02:13.643439616 -0400 ++++ utils.c.new 2024-04-02 13:00:25.956771069 -0400 +@@ -198,9 +198,9 @@ + return g_strdup (name); + + #ifdef WITH_SVG +- icon_info = gtk_icon_theme_lookup_icon (gtk_icon_theme_get_default(), name, 16, GTK_ICON_LOOKUP_GENERIC_FALLBACK); ++ icon_info = gtk_icon_theme_lookup_icon (gtk_icon_theme_get_default(), name, 48, GTK_ICON_LOOKUP_GENERIC_FALLBACK); + #else +- icon_info = gtk_icon_theme_lookup_icon (gtk_icon_theme_get_default(), name, 16, GTK_ICON_LOOKUP_NO_SVG | GTK_ICON_LOOKUP_GENERIC_FALLBACK); ++ icon_info = gtk_icon_theme_lookup_icon (gtk_icon_theme_get_default(), name, 48, GTK_ICON_LOOKUP_NO_SVG | GTK_ICON_LOOKUP_GENERIC_FALLBACK); + #endif + g_free (tmp_name); + } +@@ -208,7 +208,7 @@ + + + if (!icon_info) /* 2nd fallback */ +- icon_info = gtk_icon_theme_lookup_icon (gtk_icon_theme_get_default (), "empty", 16, GTK_ICON_LOOKUP_NO_SVG); ++ icon_info = gtk_icon_theme_lookup_icon (gtk_icon_theme_get_default (), "empty", 48, GTK_ICON_LOOKUP_NO_SVG); + + icon = g_strdup (gtk_icon_info_get_filename (icon_info)); + g_object_unref (icon_info); |