birdwm

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 504f38eb889ab8feaf83bf48eb2abafc069919bf
parent f5616ff2c0ab9bf541f54a1e98e506ee8b3d3744
Author: grouse <bdmfegys@duck.com>
Date:   Tue, 27 Feb 2024 20:14:08 -0500

remove unnecessary comments, and improve indenting in scratchpad declarations inside of config.def.h

Diffstat:
Mconfig.def.h | 21++++++++++-----------
1 file changed, 10 insertions(+), 11 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -32,17 +32,16 @@ typedef struct { const void *cmd; } Sp; -char termfm[] = "lf"; -char upgradescript[] = "upgrader"; -char musicterm[] = "vimpc"; -char termtop[] = "htop"; - -static const char *spcmd1[] = {"birdterm", "-n", "spterm", "-g", "144x41", NULL }; /* regular terminal scratchpad */ -static const char *spcmd2[] = {"birdterm", "-n", "spfm", "-g", "144x41", "-e", termfm, NULL }; /* file manager scratchpad */ -static const char *spcmd3[] = {"birdterm", "-n", "upgrader", "-g", "144x41", "-e", upgradescript, NULL }; /* upgrade script, change if your script is named differently */ -static const char *spcmd4[] = {"birdterm", "-n", "musicterm", "-g", "144x41", "-e", musicterm, NULL }; /* upgrade script, change if your script is named differently */ -//static const char *spcmd5[] = {"birdterm", "-n", "musicterm", "-g", "144x41", "-e", "htop", NULL }; /* upgrade script, change if your script is named differently */ -static const char *spcmd5[] = {"birdterm", "-n", "termtop", "-g", "144x41", "-e", termtop, NULL }; /* upgrade script, change if your script is named differently */ +char termfm[] = "lf"; /* terminal file manager */ +char upgradescript[] = "upgrader"; /* upgrade script */ +char musicterm[] = "vimpc"; /* tui music player scratchpad */ +char termtop[] = "htop"; /* htop scratchpad */ + +static const char *spcmd1[] = {"birdterm", "-n", "spterm", "-g", "144x41", }; /* regular terminal scratchpad */ +static const char *spcmd2[] = {"birdterm", "-n", "spfm", "-g", "144x41", "-e", termfm, }; /* file manager scratchpad */ +static const char *spcmd3[] = {"birdterm", "-n", "upgrader", "-g", "144x41", "-e", upgradescript, }; /* upgrade script, change if your script is named differently */ +static const char *spcmd4[] = {"birdterm", "-n", "musicterm", "-g", "144x41", "-e", musicterm, }; +static const char *spcmd5[] = {"birdterm", "-n", "termtop", "-g", "144x41", "-e", termtop, }; static Sp scratchpads[] = { /* name cmd */ {"spterm", spcmd1},