deftwmrc.c revision df1c27a6
1/*
2 * AUTOGENERATED FILE -- DO NOT EDIT
3 * This file is generated automatically from the default
4 * ctwm bindings file system.ctwmrc by the build process
5 */
6
7#include <stddef.h> // for NULL
8#include "deftwmrc.h"
9
10const char *defTwmrc[] = {
11    "#",
12    "# $XConsortium: system.twmrc,v 1.8 91/04/23 21:10:58 gildea Exp $",
13    "#",
14    "# Default twm configuration file; needs to be kept small to conserve string",
15    "# space in systems whose compilers don't handle medium-sized strings.",
16    "#",
17    "# Sites should tailor this file, providing any extra title buttons, menus, etc.",
18    "# that may be appropriate for their environment.  For example, if most of the",
19    "# users were accustomed to uwm, the defaults could be set up not to decorate",
20    "# any windows and to use meta-keys.",
21    "#",
22    "",
23    "TitleFont	\"-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*\"",
24    "ResizeFont	\"-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*\"",
25    "MenuFont	\"-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*\"",
26    "IconFont	\"-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*\"",
27    "IconManagerFont	\"-adobe-helvetica-bold-r-normal--*-100-*-*-*\"",
28    "ShowWorkSpaceManager			# start with workspace manager up",
29    "UseThreeDMenus",
30    "UseThreeDTitles",
31    "UseThreeDIconManagers",
32    "UseThreeDBorders",
33    "UseThreeDWMap",
34    "SunkFocusWindowTitle",
35    "",
36    "WorkSpaceManagerGeometry        \"360x60+60-0\" 4",
37    "WorkSpaces {",
38    "    \"One\"   {\"#686B9F\" \"white\" \"DeepSkyBlue3\" \"white\" \"xpm:background8.xpm\"}",
39    "    \"Two\"   {\"#619AAE\" \"white\" \"firebrick\" \"white\" \"plaid\"}",
40    "    \"Three\" {\"#727786\" \"white\" \"brown\"}",
41    "    \"Four\"  {\"#8C5b7A\" \"white\" \"MidnightBlue\"}",
42    "",
43    "    \"Five\"  {\"#727786\" \"white\" \"firebrick\"}",
44    "    \"Six\"   {\"#619AAE\" \"white\" \"DeepSkyBlue3\"}",
45    "    \"Seven\" {\"#8C5b7A\" \"white\" \"chartreuse4\"}",
46    "    \"Eight\" {\"#686B9F\" \"white\" \"MidnightBlue\"}",
47    "}",
48    "",
49    "Color",
50    "{",
51    "    BorderColor           \"Red\"",
52    "    DefaultBackground     \"blue\"",
53    "    DefaultForeground     \"gray85\"",
54    "    BorderTileBackground  \"DeepSkyBlue1\" {",
55    "	\"xterm\"		\"DeepSkyBlue3\"",
56    "    }",
57    "    BorderTileForeground  \"Black\" {",
58    "	\"xterm\" \"DeepSkyBlue3\"",
59    "    }",
60    "    TitleBackground       \"DeepSkyBlue1\" {",
61    "	\"xterm\" \"DeepSkyBlue3\"",
62    "    }",
63    "    TitleForeground       \"Black\" {",
64    "	\"xterm\" \"White\"",
65    "    }",
66    "    MenuBackground        \"#686B9F\"",
67    "    MenuForeground        \"white\"",
68    "    MenuTitleBackground   \"gray70\"",
69    "    MenuTitleForeground   \"White\"",
70    "    IconBackground        \"LightSlateBlue\"",
71    "    IconForeground        \"White\"",
72    "    IconBorderColor       \"gray85\"",
73    "    IconManagerBackground \"DeepSkyBlue1\" {\"Axe\" \"DeepSkyBlue3\" \"xload\" \"DeepSkyBlue2\"}",
74    "    IconManagerForeground \"Black\"",
75    "    MapWindowBackground   \"DeepSkyBlue1\" {",
76    "	\"root*\" \"Red\"",
77    "	\"xterm\" \"DeepSkyBlue3\"",
78    "	\"Axe\"	\"Yellow\"",
79    "    }",
80    "    MapWindowForeground   \"Black\" {",
81    "	\"xterm\" \"White\"",
82    "    }",
83    "}",
84    "",
85    "IconManagerGeometry		\"202x300-0+0\" 1",
86    "IconManagerDontShow {",
87    "    \"WorkSpaceManager\"",
88    "}",
89    "",
90    "NoTitle {                  # little programs that look like icons",
91    "    \"TWM Icon Manager\"",
92    "    \"WorkSpaceManager\"",
93    "}",
94    "#",
95    "# Define some useful functions for motion-based actions.",
96    "#",
97    "MoveDelta 3",
98    "Function \"move-or-lower\" { f.move f.deltastop f.lower }",
99    "Function \"move-or-raise\" { f.move f.deltastop f.raise }",
100    "Function \"move-or-iconify\" { f.move f.deltastop f.iconify }",
101    "",
102    "#",
103    "# Set some useful bindings.  Sort of uwm-ish, sort of simple-button-ish",
104    "#",
105    "Button1 =	: root		: f.menu \"defops\"",
106    "Button2 =	: root		: f.menu \"windowops\"",
107    "",
108    "Button1 = m	: window|icon	: f.function \"move-or-lower\"",
109    "Button2 = m	: window|icon	: f.iconify",
110    "Button3 = m	: window|icon	: f.function \"move-or-raise\"",
111    "",
112    "Button1 =	: title		: f.function \"move-or-raise\"",
113    "Button2 =	: title		: f.raiselower",
114    "Button1 = m     : title		: f.movetitlebar",
115    "",
116    "Button1 =	: icon		: f.function \"move-or-iconify\"",
117    "Button2 =	: icon		: f.iconify",
118    "",
119    "Button1 =	: iconmgr	: f.iconify",
120    "Button2 =	: iconmgr	: f.iconify",
121    "",
122    "Button1 =	: frame		: f.resize",
123    "Button1 = m	: frame		: f.move",
124    "Button2 =	: frame		: f.raiselower",
125    "#",
126    "# And a menus with the usual things",
127    "#",
128    "menu \"defops\"",
129    "{",
130    "    \"Twm\"		f.title",
131    "    \"Xterm\"		!\"xterm&\"",
132    "    \"Calculator\"	!\"xcalc&\"",
133    "    \"Xman\"		!\"xman &\"",
134    "    \"Xmag\"		!\"xmag&\"",
135    "    \"\"			f.nop",
136    "    \"Restart\"		f.restart",
137    "    \"Exit\"		f.quit",
138    "}",
139    "",
140    "menu \"windowops\" {",
141    "    \"Windows\"		f.title",
142    "    \"Occupy\"		f.occupy",
143    "    \"Occupy All\"	f.occupyall",
144    "    \"Iconify\"		f.iconify",
145    "    \"Refresh\"		f.refresh",
146    "    \"Vanish\"		f.vanish",
147    "    \"Info\"		f.identify",
148    "    \"\"			f.separator",
149    "    \"Resize\"		f.resize",
150    "    \"Move\"		f.move",
151    "    \"Animate\"		f.startanimation",
152    "    \"Don't animate\"	f.stopanimation",
153    "    \"\"			f.separator",
154    "    \"Send Delete\"	f.delete",
155    "    \"Kill Window\"	f.destroy",
156    "    \"Pin menu\"		f.pin",
157    "}",
158    NULL
159};
160