# font MenuFont "-adobe-new century schoolbook-medium-r-normal--14-140-75-75-p-*-iso8859-1" MenuTitleFont "-adobe-new century schoolbook-medium-r-normal--14-140-75-75-p-*-iso8859-1" ResizeFont "-adobe-new century schoolbook-bold-r-normal--24-*-75-75-p-*-iso8859-1" TitleFont "-misc-fixed-bold-r-normal--13-120-75-75-c-*-iso8859-1" IconManagerFont "-schumacher-clean-medium-r-semicondensed--13-120-75-75-c-*-iso646.1991-irv" VirtualFont "-schumacher-clean-medium-r-normal--12-120-75-75-c-*-iso646.1991-irv" # border widths #ClientBorderWidth BorderWidth 2 FramePadding 1 # cursor/window placement AutoRelativeResize #NoGrabServer #NoSaveUnders RandomPlacement RestartPreviousState UsePPosition "off" WarpCursor # menu style InterpolateMenuColors # sometimes it renders mouse+keyboard unusable #StayUpMenus # titles DecorateTransients #SqueezeTitle # virtual desktop pager PannerScale 20 PannerState "normal" PannerGeometry "-0-0" ScrollDistanceX 100 ScrollDistanceY 100 ShowVirtualNames WrapVirtual # setting this variable, custom root window color remains behind the # VirtualdesktopBackground color (black/white stippled pattern otherwise) VirtualDesktop "3x2" # icon manager IconifyByUnmapping IconManagerGeometry "100x40-0+0" NoCaseSensitive #SortIconManager ShowIconManager AutoRaise { #"XTerm" #"Netscape" #"Communicator" #"Mozilla-bin" "XV" "Gimp" "TWM" "TWM Icon Manager" } IconManagerDontShow { "XLoad" #"XConsole" "Clock" "Virtual Desktop" "WMMixer" #"XPerfmon++" "XClipboard" } NoTitle { "XLoad" "XConsole" "Clock" "Virtual Desktop" #"TWM" "TWM Icon Manager" "WMMixer" "XPerfmon++" "XClipboard" } Sticky { "XLoad" "Clock" #"VirtualDesktop" "TWM" "TWM Icon Manager" "WMMixer" "XPerfmon++" "XClipboard" } Color { BorderTileBackground "black" BorderTileForeground "grey27" BorderColor "darkorange3" { "XTerm" "olivedrab4" "toor*" "rgb:40/0/0" "Netscape" "rgb:ab/93/59" "Communicator" "rgb:ab/93/59" } DefaultForeground "gray85" DefaultBackground "gray27" TitleForeground "white" TitleBackground "darkorange4" { "XTerm" "olivedrab4" "toor*" "rgb:40/0/0" "Netscape" "rgb:ab/93/59" "Communicator" "rgb:ab/93/59" } MenuBackground "darkred" MenuForeground "white" MenuTitleBackground "black" MenuTitleForeground "white" MenuShadowColor "black" IconBackground "white" IconForeground "gray27" IconBorderColor "black" IconManagerBackground "black" IconManagerForeground "gray75" IconManagerHighlight "white" PannerBackground "black" PannerForeground "white" VirtualDesktopForeground "red4" VirtualDesktopBackground "black" } #Pixmaps #{ #VirtualDesktopBackgroundPixmap #PannerBackgroundPixmap #} # # 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 "root-menu" Button3 = : root : f.menu "restart-wm" 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|window|frame : f.raiselower Button1 = : icon : f.function "move-or-iconify" Button2 = : icon : f.iconify Button1 = : iconmgr : f.iconify Button2 = : iconmgr : f.iconify "n" = c|m: all: f.exec "netscape &" "m" = c|m: all: f.exec "mozilla &" "x" = c|m: all: f.exec "xv &" "g" = c|m: all: f.exec "gimp -S -s -c &" "i" = c|m: all: f.identify "s" = c|m: all: f.stick "Left" = m4: all: f.scrollleft "Right" = m4: all: f.scrollright "Down" = m4: all: f.scrolldown "Up" = m4: all: f.scrollup "Left" = : root: f.scrollleft "Right" = : root: f.scrollright "Down" = : root: f.scrolldown "Up" = : root: f.scrollup "F1" = c: all: f.exec "aterm &" "F2" = c: all: f.exec "aterm -bg rgb:40/0/0 -fg white -e su - toor &" "F4" = c: all: f.delete "F4" = c|m: all: f.destroy "F7" = : all: f.raise "F8" = : all: f.raiselower "F9" = : all: f.iconify "F10" = : all: f.nexticonmgr "F11" = : all: f.fullzoom "F12" = : all: f.restart # # And a menus with the usual things # menu "root-menu" { "tvtwm" f.title "xvt 132" f.exec "exec aterm -geometry 132x28 &" "xvt 80" f.exec "exec aterm -geometry 80x24 &" "xvt 60" f.exec "exec aterm -geometry 60x24 &" "----" f.nop "netscape" f.exec "exec netscape &" "mozilla" f.exec "exec mozilla &" "----" f.nop "window opt..." f.menu "window-opt" "----" f.nop "show iconmgr" f.showiconmgr "hide iconmgr" f.hideiconmgr "----" f.nop "restart..." f.menu "restart-wm" } menu "window-opt" { "window opt..." f.title "identify" f.identify "iconify" f.iconify "----" f.nop "close" f.delete "kill" f.destroy "----" f.nop "focus" f.focus "unfocus" f.unfocus "resize" f.resize "move" f.move "----" f.nop "raise" f.raise "lower" f.lower } menu "restart-wm" { "restart..." f.title "restart" f.restart "exit" f.quit }