# xearth # # # Variables # RightHandSidePulldownMenus RandomPlacement AutoPan 10 PanResistance 100 StayUpOptionalMenus AutoRaiseDelay 100 AutoRaise FixManagedVirtualGeometries # corrects window placement in panner ButtonColorIsFrame NoGrabServer NoDefaults RestartPreviousState IconifyByUnmapping ShowIconManager AutoRaiseDelay 100 AutoRaise BorderWidth 3 MoveDelta 3 ResizeRegion "NorthEast" NotVirtualGeometries FixTransientVirtualGeometries VirtualDesktop "2x2-0+0" 20 IconManagerGeometry "167x20-0+114" 1 IconManagers { "Amarok" "400x5+0+0" 1 "amarok" "400x5+0+0" 1 "Audacious" "400x5+0+0" 1 "xmms" "400x5+0+0" 1 "gxine" "400x5+0+0" 1 "[Ff]irefox*" "400x5+410+0" 1 } # TrueType EnableXftFontRenderer DefaultFont "Bitstream Vera Sans:bold:roman:size=12:antialias=true" DoorFont "Bitstream Vera Sans:normal:roman:size=10:antialias=true" IconFont "Bitstream Vera Sans:normal:roman:size=10:antialias=true" IconManagerFont "Bitstream Vera Sans:normal:roman:size=10:antialias=true" InfoFont "Bitstream Vera Sans:normal:roman:size=12:antialias=true" MenuFont "Bitstream Vera Sans:normal:roman:size=12:antialias=true" MenuTitleFont "Bitstream Vera Sans:normal:roman:size=12:antialias=true" ResizeFont "Bitstream Vera Sans:normal:roman:size=14:antialias=true" TitleFont "Bitstream Vera Sans:normal:roman:size=12:antialias=true" VirtualDesktopFont "Bitstream Vera Sans:normal:roman:size=6:antialias=true" # the following is for a 3d look BorderBevelWidth 2 ButtonBevelWidth 1 ClearBevelContrast 40 DarkBevelContrast 40 IconBevelWidth 2 IconManagerBevelWidth 1 InfoBevelWidth 2 MenuBevelWidth 2 ShallowReliefWindowButton TitleBevelWidth 1 ButtonIndent -1 TitleButtonBorderWidth 0 Function "VTWM Profile" { f.exec "killall xplanet ; xplanet -config ~/.xplanet -body earth -projection orthogonal -radius 65 -longitude -71.33 -latitude 32.64 -transparency &" f.exec "killall dclock ; dclock -fg LightSkyBlue -bg black -led_off black -date '%b %d %Y' -nomiltime -geometry 100x74-0-0 -slope 90 -thickness 0.7 -noblink &" } # # Lists # WarpCursor AppletRegion "500x80-0-100" South East 100 100 { "bubblefishymon" "wmbiff" "wmWeather" } OpaqueMove DontShowInTwmWindows { "VTWM Icon Manager" "VTWM Desktop" } DontShowInVtwmWindows { "VTWM Icon Manager" "VTWM Desktop" "dclock" "gkrellm" "xbiff" "[Xx]message*" "xeyes" "xload" "bubblefishymon" "wmWeather" } NoHighlight { "VTWM Desktop" "VTWM Icon Manager" "dclock" "gkrellm" "xbiff" "[Xx]message*" "xeyes" "xload" "bubblefishymon" "wmWeather" } NailedDown { "VTWM Desktop" "VTWM Icon Manager" "VTWM*" "dclock" "gkrellm" "xbiff" "[Xx]message*" "xeyes" "xload" "bubblefishymon" "wmWeather" } NoTitle { "VTWM Desktop" "VTWM Icon Manager" "VTWM*" "dclock" "gkrellm" "xbiff" "[Xx]message*" "xeyes" "xload" "bubblefishymon" "wmWeather" } DontSqueezeTitle { "VTWM Desktop" } DontShowInDisplay { "VTWM Desktop" "VTWM Icon Manager" "VTWM*" "dclock" "gkrellm" "xbiff" "[Xx]message*" "xeyes" "xload" "bubblefishymon" "wmWeather" } IconManagerDontShow { "VTWM Desktop" "VTWM Icon Manager" "VTWM*" "dclock" "gkrellm" "xbiff" "[Xx]message*" "xeyes" "xload" "bubblefishymon" "wmWeather" } Color { DefaultBackground "turquoise4" DefaultForeground "black" DesktopDisplayForeground "black" VirtualBackground "black" RealScreenBackground "gray15" DesktopDisplayBackground "RoyalBlue" VirtualForeground "black" MenuBackground "gray70" MenuForeground "black" MenuTitleBackground "SteelBlue4" MenuTitleForeground "black" TitleBackground "#20305a" { "Appointment" "maroon" } TitleForeground "gray85" { "Appointment" "black" } BorderColor "#20305a" BorderTileBackground "gray60" BorderTileForeground "gray60" IconManagerBackground "#20305a" { "Appointment" "maroon" } IconManagerForeground "gray85" { "Appointment" "black" } DesktopDisplayBorder "black" IconBorderColor "gray85" IconBackground "turquoise4" IconForeground "gray85" } Pixmaps { TitleHighlight ":xpm:sunkenbox" # Fix Buttons for 4.7 MenuIconPixmap ":xpm:rarrow" # Fix Menu button for 4.7 IconManagerPixmap ":xpm:zoom" } # # Functions and Bindings # 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 } # a hack but works Function "jmc_w1" { f.panup "100" f.panup "100" f.panleft "100" f.panleft "100" } Function "jmc_w2" { f.panup "100" f.panup "100" f.panright "100" f.panright "100" } Function "jmc_w3" { f.pandown "100" f.pandown "100" f.panleft "100" f.panleft "100" } Function "jmc_w4" { f.panright "100" f.panright "100" f.pandown "100" f.pandown "100" } ############################################################################### # Title Button Section Begin # valid: :xpm:bar :xpm:resize # :xpm:dot :xpm:zoom # :xpm:menu :xlogo # :xpm:darrow :xpm:rarrow ############################################################################### #------------------------------------------------------------------------------ # custom #------------------------------------------------------------------------------ SqueezeTitle LeftTitleButton ":xpm:darrow" = f.iconify #RightTitleButton ":xpm:resize" = f.resize Button1 = : root : f.menu "TwmWindows" Button2 = : root : f.menu "Mroot_middle_button" Button3 = : root : f.menu "Mroot_right_button" Button1 = : title : f.function "move-or-raise" Button2 = : title : f.lower Button3 = : title : f.menu "Mtitle_menu" Button1 = : frame : f.function "move-or-raise" Button2 = : frame : f.resize Button3 = : frame : f.iconify Button1 = : icon : f.function "move-or-iconify" Button3 = : icon : f.menu "Mtitle_menu" Button1 = : iconmgr : f.iconify Button3 = : iconmgr : f.warp Button1 = : virtual | desktop : f.movescreen ############################################################################### # now some keyboard functions ############################################################################### "Return" = : iconmgr : f.iconify "1" = m : all : f.iconify "1" = m4: all : f.iconify "2" = m : all : f.zoom "2" = m4: all : f.zoom "3" = m : all : f.horizoom "3" = m4: all : f.horizoom "4" = m : all : f.fullzoom "4" = m4: all : f.fullzoom "q" = m : all : f.delete "q" = m4: all : f.delete "Tab" = m : all : f.lower "Tab" = m4: all : f.lower "r" = m : all : f.restart "r" = m4: all : f.restart "F1" = m : all : f.function "jmc_w1" "F1" = m4: all : f.function "jmc_w1" "F2" = m : all : f.function "jmc_w2" "F2" = m4: all : f.function "jmc_w2" "F3" = m : all : f.function "jmc_w3" "F3" = m4: all : f.function "jmc_w3" "F4" = m : all : f.function "jmc_w4" "F4" = m4: all : f.function "jmc_w4" "Left" = m : all : f.backiconmgr "Left" = m4: all : f.backiconmgr "Right" = m : all : f.forwiconmgr "Right" = m4: all : f.forwiconmgr "Up" = m : all : f.backiconmgr "Up" = m4: all : f.backiconmgr "Down" = m : all : f.forwiconmgr "Down" = m4: all : f.forwiconmgr ############################################################################### # Menus ############################################################################### menu "menu_office" { " Office " f.title "OO Spreadsheet" f.exec "scalc &" "OO Word Processor" f.exec "swriter &" "OO Presentation" f.exec "simpress &" "OO Database" f.exec "sbase &" "OO Math Editor" f.exec "smath &" "OO Draw" f.exec "sdraw &" "OO Printer Admin" f.exec "spadmin &" "Open Office Main" f.exec "soffice &" "" f.separator "Kspread" f.exec "kspread &" "Kword" f.exec "kword &" "Kwrite" f.exec "kwrite &" "Kstars" f.exec "kstars &" } menu "menu_apps" { " Applications " f.title "emacs" f.exec "emacs &" "Office" f.menu "menu_office" "" f.separator "Thunderbird" f.exec "thunderbird &" "Firefox" f.exec "firefox &" "" f.separator "xmms" f.exec "xmms &" "amarok" f.exec "amarok &" "gxine" f.exec "gxine &" "" f.separator "gimp" f.exec "gimp &" "xpaint" f.exec "xpaint &" "xfig" f.exec "xfig -geometry 897x707 &" } menu "menu_wm" { " Others " f.title "Restart vtwm" f.restart "twm" f.startwm "twm" "fvwm2" f.startwm "fvwm2" "KDE" f.startwm "startkde" } menu "menu_utils" { " Utilities " f.title "File Manager" f.exec "thunar &" "VTWM config" f.exec "gvim ~/.vtwmrc &" "xcalc" f.exec "xcalc &" "" f.separator "wmagnify" f.exec "wmagnify &" "xmag" f.exec "xmag &" "xclipboard" f.exec "xclipboard &" "xbmbrowser" f.exec "xbmbrowser -geometry 550x550 &" "" f.separator "VTWM Themes" f.menu "menu_vtwm_themes" "Other wm" f.menu "menu_wm" "Restart" f.restart "About" f.version } menu "menu_shells" { " Shells " f.title "rxvt" f.exec "rxvt &" "Eterm" f.exec "Eterm -F 10x20 -c lightblue -f cyan --menu-text-color black -S gray --trans --shade 75 --menubar off &" "Xterm" f.exec "xterm &" "rxvt Small" f.exec "rxvt -fn 6x12 -ls -bg snow -fg black &" "xterm Small" f.exec "xterm -fn 6x12 -ls -bg snow -fg black &" } menu "ShowHide" { "Show Iconmamager" f.showiconmgr "Hide Iconmamager" f.hideiconmgr "Show DeskTop" f.showdesktopdisplay "Hide DeskTop" f.hidedesktopdisplay } menu "Zoom" { "Toggle Fullzoom" f.fullzoom "Toggle Horizoom" f.horizoom "Toggle Vertzoom" f.zoom } menu "mod_win" { "move" f.move "togglenail" f.nail "above" f.nailedabove "" f.separator "autoraise" f.autoraise "ring" f.ring "snuggle" f.snugwindow "" f.separator "raise" f.raise "lower" f.lower "" f.separator "^--" f.squeezeleft "-^-" f.squeezecenter "--^" f.squeezeright } menu "Mtitle_menu" { " Window " f.title "" f.separator "Resize" f.resize "togglenail" f.nail "Move" f.move "Iconify" f.iconify "Refresh" f.winrefresh "" f.separator "Identify" f.identify "Modify Win" f.menu "mod_win" "Zoom" f.menu "Zoom" "" f.separator "Delete" f.delete "Destroy" f.destroy } menu "Mroot_middle_button" { " Arrange " f.title "" f.separator "Resize" f.resize "Iconify" f.iconify "Move" f.move "" f.separator "Refresh" f.winrefresh "Identify" f.identify "" f.separator "Modify Window" f.menu "mod_win" "Zoom" f.menu "Zoom" "Show/Hide" f.menu "ShowHide" "" f.separator "Send Delete" f.delete "Kill Window" f.destroy } menu "Mroot_right_button" { " vtwm " f.title "Shells" f.menu "menu_shells" "Applications" f.menu "menu_apps" "Utilities" f.menu "menu_utils" "" f.separator "Window Ops" f.menu "Mroot_middle_button" "lock screen" f.exec "xscreensaver-command -lock &" "" f.separator "Exit" f.quit } ##### END : menus