Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f7ec931
)
add exceptions to the .sh to keep backwards compat
author
Marco Peereboom
<marco@conformal.com>
Mon, 29 Oct 2012 21:06:00 +0000
(16:06 -0500)
committer
Marco Peereboom
<marco@conformal.com>
Mon, 29 Oct 2012 21:21:07 +0000
(16:21 -0500)
spectrwm.c
patch
|
blob
|
history
diff --git
a/spectrwm.c
b/spectrwm.c
index
51506d1
..
9695399
100644
(file)
--- a/
spectrwm.c
+++ b/
spectrwm.c
@@
-6036,7
+6036,7
@@
setconfspawn(char *selector, char *value, int flags)
which[i] = '\0';
break;
}
which[i] = '\0';
break;
}
- if (system(which) != 0)
+ if (flags == 0 && system(which) != 0)
add_startup_exception("could not find %s",
&which[strlen("which ")]);
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);
" -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 */
}
/* key bindings */