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