-
Notifications
You must be signed in to change notification settings - Fork 12
/
config.h
120 lines (93 loc) · 3.69 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
/*
* Config file. Edit these values and recompile.
* Copyright (C) 2000, 2001, 2002, 2003, 2004 Shawn Betts <[email protected]>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, write to the Free Software Foundation, Inc., 59 Temple
* Place, Suite 330, Boston, MA 02111-1307 USA.
*/
#ifndef _SDORFEHS_CONF_H
#define _SDORFEHS_CONF_H 1
#include "data.h"
#include "actions.h"
#define PROGNAME "sdorfehs"
/* Enter command mode with Control+a by default. */
#define KEY_PREFIX XK_a
#define MODIFIER_PREFIX RP_CONTROL_MASK
/* Terminal executed by default. */
#define TERM_PROG "xterm"
/* This is the abort key when typing input. */
#define INPUT_ABORT_KEY XK_g
#define INPUT_ABORT_MODIFIER RP_CONTROL_MASK
/* This is the previous history entry key when typing input. */
#define INPUT_PREV_HISTORY_KEY XK_p
#define INPUT_PREV_HISTORY_MODIFIER RP_CONTROL_MASK
/* This is the next history entry key when typing input. */
#define INPUT_NEXT_HISTORY_KEY XK_n
#define INPUT_NEXT_HISTORY_MODIFIER RP_CONTROL_MASK
/* Key used to enlarge frame vertically when in resize mode. */
#define RESIZE_VGROW_KEY XK_n
#define RESIZE_VGROW_MODIFIER RP_CONTROL_MASK
/* Key used to shrink frame vertically when in resize mode. */
#define RESIZE_VSHRINK_KEY XK_p
#define RESIZE_VSHRINK_MODIFIER RP_CONTROL_MASK
/* Key used to enlarge frame horizontally when in resize mode. */
#define RESIZE_HGROW_KEY XK_f
#define RESIZE_HGROW_MODIFIER RP_CONTROL_MASK
/* Key used to shrink frame horizontally when in resize mode. */
#define RESIZE_HSHRINK_KEY XK_b
#define RESIZE_HSHRINK_MODIFIER RP_CONTROL_MASK
/* Key used to shrink frame to fit it's current window. */
#define RESIZE_SHRINK_TO_WINDOW_KEY XK_s
#define RESIZE_SHRINK_TO_WINDOW_MODIFIER 0
/* Key used to exit resize mode. */
#define RESIZE_END_KEY XK_Return
#define RESIZE_END_MODIFIER 0
/* Number of history items to store. */
#define INPUT_MAX_HISTORY 50
/*
* Treat windows with maxsize hints as if they were a transient window (don't
* hide the windows underneath, and center them)
*/
#define MAXSIZE_WINDOWS_ARE_TRANSIENTS
/*
* Treat windows with aspect hints as if they were a transient window (don't
* hide the windows underneath, and center them)
*/
#define ASPECT_WINDOWS_ARE_TRANSIENTS
/*
* An alias command could recursively call inself infinitely. This stops that
* behavior.
*/
#define MAX_ALIAS_RECURSIVE_DEPTH 16
/* Maximum depth of a link. Used in the 'link' command. */
#define MAX_LINK_DEPTH 16
/*
* Bad window messages can be safely ignored now that we have become stable
* enough. Comment this line if you wish to be notified about bad window
* messages.
*/
#define IGNORE_BADWINDOW 1
/* This is the name of the first vscreen that is created. */
#define DEFAULT_VSCREEN_NAME "default"
/* Maximum allowed history size */
#define MAX_HISTORY_SIZE 100
/* The default filename in which to store the history */
#define HISTORY_FILE "history"
/* The name of the root keymap */
#define ROOT_KEYMAP "root"
/* The name of the top level keymap */
#define TOP_KEYMAP "top"
/* The default font */
#define DEFAULT_XFT_FONT "monospace:size=12"
#endif /* !_ _SDORFEHS_CONF_H */