speedwm-personal/toggle.h

63 lines
3.8 KiB
C
Raw Normal View History

/* Toggle patches
* This header allows you to enable/disable patches that can break compability or decrease performance with certain OSes or configurations.
*
2022-09-08 18:10:34 +02:00
* If it's disabled (set to 0), it will not be compiled in with speedwm. This keeps the binary small and may make the experience better.
*/
/* IPC */
#define USEIPC 1 /* Whether or not to use IPC.
NOTE: If you set this to 1, set USEIPC to true in toggle.mk and comment the YAJLLIBS and YAJLINC lines in config.mk.
Not compatible with BSDs so for those, set this to 0. */
/* Alpha related patches
*
* These do not have any dependencies but can slow down older computers.
* Because of this, you can easily toggle them on/off.
*/
2022-09-09 10:07:24 +02:00
#define USEALPHA 1 /* Whether or not to use transparency for the bar */
#define USEFADE 1 /* Whether or not to use fading windows */
/* Miscellanious
*/
#define USESYSTRAY 1 /* Whether or not to use the systray */
2022-09-17 00:11:05 +02:00
#define USEROUNDCORNERS 1 /* Whether or not to use rounded corners */
#define USEMEDIA 1 /* Whether or not to use media keys */
2022-09-09 10:07:24 +02:00
#define USEMOUSE 1 /* Whether or not to use mouse binds */
#define USEXFTWORKAROUND 0 /* Whether or not to include the libXft emoji workaround.
This is usually not necessary so only enable it if you find that you need it. */
/* Image related patches
*
* These can slow down speedwm slightly but if you use modern computers, it's not noticeable.
* If you wish to disable them though, set them to 0.
*/
2022-09-09 10:07:24 +02:00
#define USEIMLIB2 1 /* Whether or not to use imlib2. Required by USEWINICON and USETAGPREVIEW. */
#define USEWINICON 1 /* Whether or not to use window icons. Requires imlib to be enabled in toggle.mk and it must be installed. */
#define USETAGPREVIEW 1 /* Whether or not to use tag previews. Requires imlib to be enabled in toggle.mk and it must be installed. */
#define USETAGPREVIEWFIX 0 /* Experimental fix for tag previews showing up in the tag preview when a window animations are enabled.
Using this is not recommended and if you use the mouse to switch tags, it will not work. */
/* Layouts
* If you don't use a layout, you can remove it to keep the speedwm binary small.
*/
2022-09-09 10:07:24 +02:00
#define LAYOUT_TILE 1 /* Whether or not to include the tiling layout */
#define LAYOUT_TILE54 1 /* Whether or not to include hte 5:4 tiling layout */
#define LAYOUT_MONOCLE 1 /* Whether or not to include the monocle layout */
#define LAYOUT_GRID 1 /* Whether or not to include the grid layout */
#define LAYOUT_GLGRID 1 /* Whether or not to include the gapless grid layout */
#define LAYOUT_FIBO 1 /* Whether or not to include the fibonacci layout */
#define LAYOUT_DWINDLE 1 /* Whether or not to include the dwindle layout */
#define LAYOUT_SPIRAL 1 /* Whether or not to include the spiral layout */
#define LAYOUT_TCL 1 /* Whether or not to include the three column layout */
#define LAYOUT_BSTACK 1 /* Whether or not to include the bottom stack layout */
#define LAYOUT_BSTACKH 1 /* Whether or not to include the horizontal bottom stack layout */
#define LAYOUT_HGRID 1 /* Whether or not to include the horizontal grid layout */
#define LAYOUT_DGRID 1 /* Whether or not to include the dynamic grid layout */
#define LAYOUT_TATAMI 1 /* Whether or not to include the tatami layout */
#define LAYOUT_TW 1 /* Whether or not to include the wide tiling layout */
#define LAYOUT_CM 1 /* Whether or not to include the centered master layout */
#define LAYOUT_CFM 1 /* Whether or not to include the centered floating master layout */
#define LAYOUT_DECK 1 /* Whether or not to include the deck layout */
#define LAYOUT_COL 1 /* Whether or not to include the column layout */
#define LAYOUT_STAIRS 1 /* Whether or not to include the stairs layout */