add -t
[xmenu] / config.h
index 0723fcd..9886a72 100644 (file)
--- a/config.h
+++ b/config.h
@@ -17,6 +17,9 @@ static struct Config config = {
        .separator_pixels = 3,      /* space around separator */
        .gap_pixels = 0,            /* gap between menus */
 
        .separator_pixels = 3,      /* space around separator */
        .gap_pixels = 0,            /* gap between menus */
 
+       /* text alignment, set to LeftAlignment, CenterAlignment or RightAlignment */
+       .alignment = LeftAlignment,
+
        /*
         * The variables below cannot be set by X resources.
         * Their values must be less than .height_pixels.
        /*
         * The variables below cannot be set by X resources.
         * Their values must be less than .height_pixels.
@@ -31,6 +34,9 @@ static struct Config config = {
 
        /* area around the icon, the triangle and the separator */
        .horzpadding = 8,
 
        /* area around the icon, the triangle and the separator */
        .horzpadding = 8,
+
+       /* if nonzero, enable type-to-select feature, can be togglet with -t */
+       .typetoselect = 0
 };
 
 /*
 };
 
 /*