README update.

This commit is contained in:
Johannes Findeisen 2023-03-09 03:59:40 +01:00
commit 5d44839dc1

View file

@ -72,27 +72,27 @@ You can create your own icon theme by generating a C header file containing the
This can be done using the following commands:
gdk-pixbuf-csource --struct PATH_TO_OPEN_IMAGE > ./themes/THEME_NAME.h
gdk-pixbuf-csource --struct PATH_TO_OPEN_IMAGE > ./themes/THEME_NAME.h
gdk-pixbuf-csource --struct PATH_TO_CLOSED_IMAGE >> ./themes/THEME_NAME.h
gdk-pixbuf-csource --struct PATH_TO_CLOSED_IMAGE >> ./themes/THEME_NAME.h
Afterwards you need to rename the first generated struct to:
icon_open_pixbuf
icon_open_pixbuf
The second must be renamed to:
icon_closed_pixbuf
icon_closed_pixbuf
in:
./themes/THEME_NAME.h
./themes/THEME_NAME.h
You can then use your custom icon theme when changing the line:
#include "themes/lock.h"
#include "themes/lock.h"
to:
#include "themes/THEME_NAME.h"
#include "themes/THEME_NAME.h"