# # $Xorg: system.twmrc,v 1.3 2000/08/17 19:54:08 cpqbld 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. # # $XFree86: xc/programs/twm/system.twmrc,v 1.4 2001/01/17 23:45:08 dawes Exp $ # NoGrabServer RestartPreviousState DecorateTransients TitleFont "-*-bitstream vera sans-bold-r-*-*-12-*-*-*-*-*-*-*" ResizeFont "-*-bitstream vera sans-bold-r-*-*-12-*-*-*-*-*-*-*" MenuFont "-*-bitstream vera sans-bold-r-*-*-12-*-*-*-*-*-*-*" IconFont "-*-bitstream vera sans-bold-r-*-*-12-*-*-*-*-*-*-*" IconManagerFont "-*-bitstream vera sans-bold-r-*-*-12-*-*-*-*-*-*-*" #ClientBorderWidth AutoRelativeResize OpaqueMove ButtonIndent 1 SqueezeTitle BorderWidth 2 MenuBorderWidth 2 IconBorderWidth 2 NoHighlight NoTitle {"xmms" "gkrellm" "xclock" "MPlayer"} # place windows on the desktop without clicking them out. RandomPlacement Color { BorderColor "black" DefaultBackground "rgb:2/a/9" DefaultForeground "gray85" TitleBackground "rgb:2/a/9" TitleForeground "gray85" MenuBackground "rgb:2/a/9" MenuForeground "gray85" MenuBorderColor "black" MenuTitleBackground "gray70" MenuTitleForeground "rgb:2/a/9" IconBackground "rgb:2/a/9" IconForeground "gray85" IconBorderColor "black" IconManagerBackground "rgb:90/90/40" IconManagerForeground "gray85" } Cursors { Title "right_ptr" Menu "left_ptr" Frame "left_ptr" Icon "left_ptr" IconMgr "left_ptr" Move "fleur" Resize "fleur" #Button "hand2" Button "center_ptr" #Wait "watch" Wait "heart" Select "dot" Destroy "pirate" } # # 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" Button1 = m : window|icon : f.function "move-or-raise" Button2 = m : window|icon : f.iconify Button3 = m : window|icon : 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 "Iconify" f.iconify "Resize" f.resize "Move" f.move "Raise" f.raise "Lower" f.lower "" f.nop "Focus" f.focus "Unfocus" f.unfocus "Show Iconmgr" f.showiconmgr "Hide Iconmgr" f.hideiconmgr "Ident" f.identify "" f.nop "Xterm" f.exec "exec xterm -fa 'bitstream vera sans mono' -fs 12 &" "Mozilla" f.exec "exec mozilla &" "Emacs" f.exec "exec emacs &" "" f.nop "Apps" f.menu "apps" "" f.nop "Kill" f.destroy "Delete" f.delete "" f.nop "Restart" f.restart "Exit" f.quit } menu "apps" { "Net" f.menu "net" "Code" f.menu "code" "Alsamixer" f.exec "exec xterm -fa 'bitstream vera sans mono' -fs 12 -e alsamixer &" "Edit twmrc" f.exec "exec emacs ~/.twmrc &" } menu "net" { "Mozilla" f.menu "mozilla" "Pine" f.exec "xterm -fa 'bitstream vera sans mono' -fs 12 -T Pine -e pine &" "Lynx" f.exec "xterm -fa 'bitstream vera sans mono' -fs 12 -T Lynx -e lynx &" "Links" f.exec "xterm -fa 'bitstream vera sans mono' -fs 12 -T Links -e links &" "Fetchmail" f.exec "xterm -bg rgb:90/90/40 -fg grey85 -fa 'bitstream vera sans mono' -fs 12 -T 'Fetching POP Mail' -e ~/bin/fetchmail-x.sh &" } menu "code" { "Netbeans" f.exec "exec netbeans &" } menu "mozilla" { "Navigator" f.exec "exec mozilla &" "Messenger" f.exec "exec mozilla -mail &" "Calendar" f.exec "exec mozilla -calendar &" "AddressBook" f.exec "exec mozilla -addressbook &" "ChatZilla" f.exec "exec mozilla -chat &" "Composer" f.exec "exec mozilla -edit &" }