NoGrabServer RestartPreviousState DecorateTransients TitleFont "-*-verdana-*-*-*-*-12-*-*-*-*-*-*-*" ResizeFont "-*-verdana-*-*-*-*-12-*-*-*-*-*-*-*" MenuFont "-*-verdana-*-*-*-*-12-*-*-*-*-*-*-*" IconFont "-*-verdana-*-*-*-*-12-*-*-*-*-*-*-*" IconManagerFont "-*-verdana-*-*-*-*-12-*-*-*-*-*-*-*" OpaqueMove NoTitleHighlight TitleButtonBorderWidth 0 BorderWidth 1 #IconRegion "1024x30+0-0" South West 200 40 IconDirectory "/home/plhk/.echinus/" NoDefaults NoMenuShadows NoTitle { "xclock" "xstatbar" } RandomPlacement AutoRelativeResize FramePadding 1 TitlePadding 4 ShowIconManager Pixmaps { RightTitleButton "iconify.xbm"=f.iconify RightTitleButton "max.xbm"=f.fullzoom RightTitleButton "close.xbm"=f.delete } Color { BorderColor "#839496" BorderTileBackground "#cccccc" BorderTileForeground "#cccccc" DefaultBackground "white" DefaultForeground "black" TitleBackground "#839496" TitleForeground "white" MenuBackground "#fdf6e3" MenuForeground "#839496" MenuBorderColor "#839496" MenuTitleBackground "#839496" MenuTitleForeground "white" IconBackground "#839496" IconForeground "white" IconBorderColor "#839496" IconManagerBackground "#fdf6e3" IconManagerForeground "#839496" } # # 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" Button3 = m : title|window|icon : f.resize Button2 = m : window|icon : f.iconify Button1 = m : title|window|icon : f.function "move-or-raise" Button3 = : title|frame : f.resize 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 # # And a menus with the usual things # menu "defops" { "twm" f.title "xterm" !"xterm &" "firefox" !"firefox &" "pidgin" !"pidgin &" "restart" f.startwm "twm" "quit" f.quit } "Return" = C M : all : !"xterm &" "Tab" = M : all : f.warpring "next" "Tab" = S M : all : f.warpring "prev" "t" = M : all : f.warpto "XTerm" WindowRing { "XTerm" }