mirror of
https://github.com/vale981/spectrwm
synced 2025-03-05 09:51:38 -05:00
add exceptions to the .sh to keep backwards compat
This commit is contained in:
parent
f7ec931e08
commit
ee8f3b512c
1 changed files with 7 additions and 1 deletions
|
@ -6036,7 +6036,7 @@ setconfspawn(char *selector, char *value, int flags)
|
|||
which[i] = '\0';
|
||||
break;
|
||||
}
|
||||
if (system(which) != 0)
|
||||
if (flags == 0 && system(which) != 0)
|
||||
add_startup_exception("could not find %s",
|
||||
&which[strlen("which ")]);
|
||||
|
||||
|
@ -6073,6 +6073,12 @@ setup_spawn(void)
|
|||
" -nf $bar_font_color"
|
||||
" -sb $bar_border"
|
||||
" -sf $bar_color", 0);
|
||||
|
||||
/* these are not verified for existence */
|
||||
setconfspawn("screenshot_all", "screenshot.sh full", 1);
|
||||
setconfspawn("screenshot_wind", "screenshot.sh window", 1);
|
||||
setconfspawn("initscr", "initscreen.sh", 1);
|
||||
|
||||
}
|
||||
|
||||
/* key bindings */
|
||||
|
|
Loading…
Add table
Reference in a new issue