autostart: moving configs to config.def.h

pull/48/head
bakkeby 4 years ago
parent 3f4f88c142
commit 85dd49a6a4

@ -15,6 +15,12 @@ static const unsigned int gappoh = 10; /* horiz outer gap between windo
static const unsigned int gappov = 30; /* vert outer gap between windows and screen edge */
static const int smartgaps = 0; /* 1 means no outer gap when there is only one window */
#endif // VANITYGAPS_PATCH
#if AUTOSTART_PATCH
static const char autostartblocksh[] = "autostart_blocking.sh";
static const char autostartsh[] = "autostart.sh";
static const char dwmdir[] = "dwm";
static const char localshare[] = ".local/share";
#endif // AUTOSTART_PATCH
#if BAR_HOLDBAR_PATCH
static const int showbar = 0; /* 0 means no bar */
#else

@ -1,8 +1,3 @@
static const char autostartblocksh[] = "autostart_blocking.sh";
static const char autostartsh[] = "autostart.sh";
static const char dwmdir[] = "dwm";
static const char localshare[] = ".local/share";
void
runautostart(void)
{

@ -282,9 +282,9 @@
*/
#define ATTACHBOTTOM_PATCH 0
/* This patch will make dwm run "~/.config/dwm/autostart_blocking.sh" and
* "~/.config/dwm/autostart.sh &" before entering the handler loop. One or
* both of these files can be ommited. Note the path inside .config rather
/* This patch will make dwm run "~/.local/share/dwm/autostart_blocking.sh" and
* "~/.local/share/dwm/autostart.sh &" before entering the handler loop. One or
* both of these files can be ommited. Note the path inside .local/share rather
* than the original ~/.dwm folder.
* https://dwm.suckless.org/patches/autostart/
*/

Loading…
Cancel
Save