Configurable tray padding.

This commit is contained in:
Michael Hofmann
2015-06-09 10:06:45 +02:00
parent dfe2c9c310
commit bad4203755
11 changed files with 60 additions and 12 deletions

View File

@ -255,6 +255,9 @@ struct Barconfig {
* disables the tray (its enabled by default). */
char *tray_output;
/* Padding around the tray icons. */
int tray_padding;
/** Path to the i3 IPC socket. This option is discouraged since programs
* can find out the path by looking for the I3_SOCKET_PATH property on the
* root window! */

View File

@ -86,6 +86,7 @@ CFGFUN(bar_i3bar_command, const char *i3bar_command);
CFGFUN(bar_color, const char *colorclass, const char *border, const char *background, const char *text);
CFGFUN(bar_socket_path, const char *socket_path);
CFGFUN(bar_tray_output, const char *output);
CFGFUN(bar_tray_padding, const long spacing_px);
CFGFUN(bar_color_single, const char *colorclass, const char *color);
CFGFUN(bar_status_command, const char *command);
CFGFUN(bar_binding_mode_indicator, const char *value);