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 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167
|
#
# $XConsortium: system.twmrc,v 1.8 91/04/23 21:10:58 gildea Exp $
#
# Default twm configuration file; needs to be kept small to conserve string
# space in systems whose compilers don't handle medium-sized strings.
#
# Sites should tailor this file, providing any extra title buttons, menus, etc.
# that may be appropriate for their environment. For example, if most of the
# users were accustomed to uwm, the defaults could be set up not to decorate
# any windows and to use meta-keys.
#
NoGrabServer
RestartPreviousState
DecorateTransients
TitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
MenuFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
ShowWorkSpaceManager # start with workspace manager up
UseThreeDMenus
UseThreeDTitles
UseThreeDIconManagers
UseThreeDBorders
UseThreeDWMap
SunkFocusWindowTitle
WorkSpaceManagerGeometry "360x60+60-0" 4
WorkSpaces {
"One" {"rgb:0/6/6" "rgb:f/f/f" "rgb:0/6/6" "rgb:f/f/f"}
"Two" {"rgb:4/4/6" "rgb:f/f/f" "rgb:4/4/6" "rgb:f/f/f"}
"Three" {"rgb:6/4/4" "rgb:f/f/f" "rgb:6/4/4" "rgb:f/f/f"}
"Four" {"rgb:6/6/6" "rgb:f/f/f" "rgb:6/6/6" "rgb:f/f/f"}
"Five" {"rgb:0/4/4" "rgb:f/f/f" "rgb:0/4/4" "rgb:f/f/f"}
"Six" {"rgb:2/2/4" "rgb:f/f/f" "rgb:2/2/4" "rgb:f/f/f"}
"Seven" {"rgb:4/2/2" "rgb:f/f/f" "rgb:4/2/2" "rgb:f/f/f"}
"Eight" {"rgb:4/4/4" "rgb:f/f/f" "rgb:4/4/4" "rgb:f/f/f"}
}
Color {
BorderColor "rgb:0/0/8"
DefaultBackground "rgb:0/8/0"
DefaultForeground "rgb:e/e/e"
BorderTileBackground "rgb:0/8/8"
BorderTileForeground "rgb:0/0/0"
TitleBackground "rgb:0/b/b"
TitleForeground "rgb:0/0/f"
MenuBackground "rgb:f/f/0"
MenuForeground "rgb:0/0/f"
MenuTitleBackground "rgb:b/0/0"
MenuTitleForeground "rgb:b/b/0"
IconBackground "rgb:0/b/b"
IconForeground "rgb:f/f/f"
IconBorderColor "rgb:d/d/d"
IconManagerBackground "rgb:0/8/8"
IconManagerForeground "rgb:0/f/f"
MapWindowBackground "rgb:8/8/8"
MapWindowForeground "rgb:0/0/0"
}
IconManagerDontShow { # do not display these windows in the icon manager
}
NoTitle { # do not place a title bar on these windows
}
IconManagerGeometry "202x300-0+0" 1
IconManagerDontShow {
"WorkSpaceManager"
}
AutoRaise { # automatically raise these windows
}
#
# Define some useful functions for motion-based actions.
#
MoveDelta 3
Function "move-or-lower" { f.move f.deltastop f.lower }
Function "move-or-raise" { f.move f.deltastop f.raise }
Function "move-or-iconify" { f.move f.deltastop f.iconify }
#
# Set some useful bindings. Sort of uwm-ish, sort of simple-button-ish
#
Button1 = : root : f.menu "defops"
Button2 = : root : f.menu "windowops"
Button1 = m : window|icon : f.function "move-or-lower"
Button2 = m : window|icon : f.iconify
Button3 = m : window|icon : f.function "move-or-raise"
Button1 = : title : f.function "move-or-raise"
Button2 = : title : f.raiselower
Button1 = : icon : f.function "move-or-iconify"
Button2 = : icon : f.iconify
Button1 = : iconmgr : f.iconify
Button2 = : iconmgr : f.iconify
Button1 = : frame : f.resize
Button1 = m : frame : f.move
Button2 = : frame : f.raiselower
#
# And a menus with the usual things
#
menu "defops" {
"Main Menu" f.title
"Debian" f.menu "/Debian"
"" f.separator
"Show Icon Manager" f.showiconmgr
"Hide Icon Manager" f.hideiconmgr
"" f.separator
"Show WorkSpace Manager" f.showworkspacemgr
"Hide WorkSpace Manager" f.hideworkspacemgr
"" f.separator
"Refresh screen" f.refresh
"" f.separator
"Exit" f.menu "Quit-Verify"
}
menu "Quit-Verify" {
"Really quit ctwm?" f.title
"No, restart ctwm" f.restart
"Yes, really quit" f.quit
}
menu "windowops" {
"Window Ops" f.title
"Occupy..." f.occupy
"Occupy All" f.occupyall
"Vanish" f.vanish
"" f.separator
"(De)Iconify" f.iconify
"Refresh" f.winrefresh
"Info..." f.identify
"" f.separator
"Resize" f.resize
"(Un)Squeeze" f.squeeze
"Zoom" f.menu "zoomops"
"" f.separator
"Move" f.move
"Pack move" f.movepack
"Push move" f.movepush
"" f.separator
"Restart animations" f.startanimation
"Freeze animations" f.stopanimation
"" f.separator
"Close" f.delete
"Kill" f.destroy
}
menu "zoomops" {
"Zoom Ops" f.title
"Full zoom" f.fullzoom
"Horizontal zoom" f.horizoom
"Vertical zoom" f.zoom
"Top zoom" f.topzoom
"Bottom zoom" f.bottomzoom
"Left zoom" f.leftzoom
"Right zoom" f.rightzoom
}
undivert(`/etc/X11/ctwm/menudefs.hook')
|