support "launch <command>" in .xoatrc

This commit is contained in:
Sean Pringle
2015-01-08 07:33:21 +10:00
parent 33d432759d
commit e4e8ab2880
4 changed files with 28 additions and 1 deletions

3
xoat.c
View File

@@ -116,6 +116,9 @@ typedef struct _Settings {
unsigned int binding_count;
Binding *bindings;
unsigned int launchcmd_count;
char **launchcmds;
} Settings;
#define have_layout(i) (settings.layout_count > (i))