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