birdwm

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

commit 85c9124f183c8be20a3b3478b7885ec9899900ed
parent fb3032a988d9f04e64fb9e5881e1c9efc74c0666
Author: bdmfegys@duck.com <bdmfegys@duck.com>
Date:   Sat,  4 May 2024 02:52:42 -0400

config.def.h: add scratchpadsize variable for easy scratchpad resizing

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

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