/* scratchpads */ typedef struct { const char *name; const void *cmd; } Sp; const char *spcmd0[] = {"st", "-n", "spterm", "-g", "120x34", NULL }; const char *spcmd1[] = {"st", "-n", "spfm", "-g", "144x41", "-e", "lf", NULL }; const char *spcmd2[] = {"keepassxc", NULL }; const char *spcmd3[] = {"st", "-n", "spnmtui", "-g", "140x30", "-e", "nmtui", NULL }; const char *spcmd4[] = {"st", "-n", "spmusic", "-g", "140x30", "-e", "ncmpcpp", NULL }; const char *spcmd5[] = {"signal-desktop", NULL }; static Sp scratchpads[] = { /* name cmd */ {"spterm", spcmd0}, {"spranger", spcmd1}, {"spkeepassxc", spcmd2}, {"spnmtui", spcmd3}, {"spmusic", spcmd4}, {"spsignal", spcmd5}, };