README update.
This commit is contained in:
parent
7154b7c29e
commit
5d44839dc1
1 changed files with 7 additions and 7 deletions
14
README.md
14
README.md
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue