aboutsummaryrefslogtreecommitdiffstats
path: root/config.h
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-04-07 10:17:27 +0200
committerBert <ber.t@gmx.com>2011-04-07 10:17:27 +0200
commitb2f1b997ed60a40ffb9c0964ed0716c375b30072 (patch)
tree97662fe743124daf58142b02b8900111dd973352 /config.h
parent9fcf2c8f3467f163031b56c1750e2a27df0d3d64 (diff)
downloadnsxiv-b2f1b997ed60a40ffb9c0964ed0716c375b30072.tar.zst
Disable support for external commands by default
Diffstat (limited to 'config.h')
-rw-r--r--config.h40
1 files changed, 19 insertions, 21 deletions
diff --git a/config.h b/config.h
index bf48538..7a4d43b 100644
--- a/config.h
+++ b/config.h
@@ -1,30 +1,28 @@
-/* default window dimensions: *
- * (also controllable via -g option) */
-#define WIN_WIDTH 800
-#define WIN_HEIGHT 600
+/* default window dimensions (overwritten via -g option): */
+#define WIN_WIDTH 800
+#define WIN_HEIGHT 600
-/* default color for window background: *
- * (see X(7) "COLOR NAMES" section for valid values) */
-#define BG_COLOR "#999999"
-/* default color for thumbnail selection: */
-#define SEL_COLOR "#0040FF"
+/* default color for window background: *
+ * (see X(7) "COLOR NAMES" section for valid values) */
+#define BG_COLOR "#999999"
+/* default color for thumbnail selection: */
+#define SEL_COLOR "#0040FF"
-/* how should images be scaled when they are loaded?: *
- * (also controllable via -d/-s/-Z/-z options) *
- * SCALE_DOWN: 100%, but fit large images into window, *
- * SCALE_FIT: fit all images into window, *
- * SCALE_ZOOM: use current zoom level, 100% at startup */
-#define SCALE_MODE SCALE_DOWN
+/* how should images be scaled when they are loaded?: *
+ * (also controllable via -d/-s/-Z/-z options) *
+ * SCALE_DOWN: 100%, but fit large images into window, *
+ * SCALE_FIT: fit all images into window, *
+ * SCALE_ZOOM: use current zoom level, 100% at startup */
+#define SCALE_MODE SCALE_DOWN
-/* levels (percent) to use when zooming via '-' and '+': */
+/* levels (percent) to use when zooming via '-' and '+': */
static const float zoom_levels[] = {
12.5, 25.0, 50.0, 75.0,
100.0, 150.0, 200.0, 400.0, 800.0
};
-/* default dimension of thumbnails (width == height): */
-#define THUMB_SIZE 60
+/* default dimension of thumbnails (width == height): */
+#define THUMB_SIZE 60
-/* remove this line to disable external commands: *
- * (otherwise have a look at commands.h to define them) */
-#define EXT_COMMANDS
+/* support for external commands (defined in commands.h): */
+#define EXT_COMMANDS 0