forked from speedie/spmenu
remove toggle.h
This commit is contained in:
parent
a009d77d90
commit
61a422dacb
|
@ -49,7 +49,7 @@ Note: This is an incomplete list, it's just here to give you an idea of what thi
|
|||
- libXrender
|
||||
- freetype
|
||||
- imlib2
|
||||
- Used for image support, can be disabled if you don't want this by editing host.mk and toggle.h
|
||||
- Used for image support, can be disabled if you don't want this by editing host.mk and defining NOIMAGE
|
||||
- libXinerama
|
||||
- Can be disabled if you don't want/need multi-monitor support.
|
||||
- tcc compiler (you can swap it out for GCC by passing CC="gcc" to the `make` command if you want)
|
||||
|
|
1
TODO
1
TODO
|
@ -1,4 +1,3 @@
|
|||
# TODO for spmenu
|
||||
|
||||
- More example scripts
|
||||
- toggle.h should probably not be necessary
|
||||
|
|
8
spmenu.c
8
spmenu.c
|
@ -9,8 +9,6 @@
|
|||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "toggle.h" /* feature toggle */
|
||||
|
||||
#ifdef FRIBIDI
|
||||
#define USERTL 1
|
||||
#else
|
||||
|
@ -21,6 +19,12 @@
|
|||
#include <fribidi.h>
|
||||
#endif
|
||||
|
||||
#ifdef NOIMAGE
|
||||
#define USEIMAGE 0
|
||||
#else
|
||||
#define USEIMAGE 1
|
||||
#endif
|
||||
|
||||
#if USEIMAGE
|
||||
#include <errno.h>
|
||||
#include <pwd.h>
|
||||
|
|
8
toggle.h
8
toggle.h
|
@ -1,8 +0,0 @@
|
|||
/* Toggle patches
|
||||
* This header allows you to enable/disable patches that can break compability or decrease performance with certain OSes or configurations.
|
||||
*
|
||||
* If it's disabled (set to 0), it will not be compiled in with spmenu. This keeps the binary small and may make the experience better.
|
||||
*/
|
||||
|
||||
/* Image related patches */
|
||||
#define USEIMAGE 1 /* Include image support. Requires imlib2 */
|
Loading…
Reference in a new issue