mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 12:05:45 +00:00
autostart: moving configs to config.def.h
This commit is contained in:
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 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 */
|
static const int smartgaps = 0; /* 1 means no outer gap when there is only one window */
|
||||||
#endif // VANITYGAPS_PATCH
|
#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
|
#if BAR_HOLDBAR_PATCH
|
||||||
static const int showbar = 0; /* 0 means no bar */
|
static const int showbar = 0; /* 0 means no bar */
|
||||||
#else
|
#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
|
void
|
||||||
runautostart(void)
|
runautostart(void)
|
||||||
{
|
{
|
||||||
|
@ -282,9 +282,9 @@
|
|||||||
*/
|
*/
|
||||||
#define ATTACHBOTTOM_PATCH 0
|
#define ATTACHBOTTOM_PATCH 0
|
||||||
|
|
||||||
/* This patch will make dwm run "~/.config/dwm/autostart_blocking.sh" and
|
/* This patch will make dwm run "~/.local/share/dwm/autostart_blocking.sh" and
|
||||||
* "~/.config/dwm/autostart.sh &" before entering the handler loop. One or
|
* "~/.local/share/dwm/autostart.sh &" before entering the handler loop. One or
|
||||||
* both of these files can be ommited. Note the path inside .config rather
|
* both of these files can be ommited. Note the path inside .local/share rather
|
||||||
* than the original ~/.dwm folder.
|
* than the original ~/.dwm folder.
|
||||||
* https://dwm.suckless.org/patches/autostart/
|
* https://dwm.suckless.org/patches/autostart/
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user