#------------------------------------------------------------------------------ # Path -- seems only one path statement is allowed #------------------------------------------------------------------------------ IconDirectory "~/.themes_vtwm/images" #------------------------------------------------------------------------------ # General options #------------------------------------------------------------------------------ AutoPan 10 AutoPanBorderWidth 5 NaturalAutopanBehavior ###StrictIconManager # Only show icionified clients in Manager PanResistance 200 DecorateTransients RandomPlacement NoCaseSensitive NoGrabServer AutoRelativeResize MoveDelta 3 DeiconifyToScreen ForceIcons RestartPreviousState WarpCursor NotVirtualGeometries FixTransientVirtualGeometries StayUpOptionalMenus OldFashionedTwmWindowsMenu FixManagedVirtualGeometries ShowIconManager BorderWidth 1 ### Start 3d ShallowReliefWindowButton SunkFocusWindowTitle BorderBevelWidth 1 ButtonBevelWidth 1 IconBevelWidth 1 IconManagerBevelWidth 1 InfoBevelWidth 1 MenuBevelWidth 1 TitleBevelWidth 1 ButtonIndent -1 # Fixes Buttons for 4.7 TitleButtonBorderWidth 0 # Fixes Buttons for 4.7 ### End 3d ClearBevelContrast 40 DarkBevelContrast 40 ##JMCRESOTHERS##VirtualDesktop "4x1-1-1" 15 ##JMCRESOTHERS##ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRESOTHERS##TitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRESOTHERS##MenuFont "-adobe-helvetica-bold-r-normal--*-140-*-*-*-*-*-*" ##JMCRESOTHERS##MenuTitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRESOTHERS##IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" ##JMCRESOTHERS##IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*" ##JMCRESOTHERS##VirtualDesktopFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*" ##JMCRESOTHERS##IconManagerGeometry "1020x10+0+0" 7 ##JMCRESOTHERS##IconManagers ##JMCRESOTHERS##{ ##JMCRESOTHERS## "Audacious" "485x5+0+689" 1 ##JMCRESOTHERS## "xmms" "485x5+0+689" 1 ##JMCRESOTHERS## "gxine" "485x5+0+689" 1 ##JMCRESOTHERS## "[Ff]irefox*" "273x5-0+689" 1 ##JMCRESOTHERS## "[Mm]ozilla*" "273x5-0+689" 1 ##JMCRESOTHERS## "[Aa]marok*" "485x5+0+689" 1 ##JMCRESOTHERS##} ##JMCRES1024x768##VirtualDesktop "4x1-1-1" 15 ##JMCRES1024x768##ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRES1024x768##TitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRES1024x768##MenuFont "-adobe-helvetica-bold-r-normal--*-140-*-*-*-*-*-*" ##JMCRES1024x768##MenuTitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRES1024x768##IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" ##JMCRES1024x768##IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*" ##JMCRES1024x768##VirtualDesktopFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*" ##JMCRES1024x768##IconManagerGeometry "1020x10+0+0" 7 ##JMCRES1024x768##IconManagers ##JMCRES1024x768##{ ##JMCRES1024x768## "Audacious" "485x5+0+689" 1 ##JMCRES1024x768## "xmms" "485x5+0+689" 1 ##JMCRES1024x768## "gxine" "485x5+0+689" 1 ##JMCRES1024x768## "[Ff]irefox*" "273x5-0+689" 1 ##JMCRES1024x768## "[Mm]ozilla*" "273x5-0+689" 1 ##JMCRES1024x768## "[Aa]marok*" "485x5+0+689" 1 ##JMCRES1024x768##} VirtualDesktop "4x1-1-1" 16 ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" TitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" MenuFont "-adobe-helvetica-bold-r-normal--*-140-*-*-*-*-*-*" MenuTitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*" VirtualDesktopFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*" IconManagerGeometry "1020x10+0+0" 7 IconManagers { "Audacious" "536x5+0+872" 1 "xmms" "536x5+0+872" 1 "gxine" "536x5+0+872" 1 "[Aa]marok*" "536x5+0+872" 1 "[Ff]irefox*" "319x5-0+872" 1 "[Mm]ozilla*" "319x5-0+872" 1 } ##JMCRES1680x1050##VirtualDesktop "4x1-1-1" 15 ##JMCRES1680x1050##ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRES1680x1050##TitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRES1680x1050##MenuFont "-adobe-helvetica-bold-r-normal--*-140-*-*-*-*-*-*" ##JMCRES1680x1050##MenuTitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRES1680x1050##IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" ##JMCRES1680x1050##IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*" ##JMCRES1680x1050##VirtualDesktopFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*" ##JMCRES1680x1050##IconManagerGeometry "1675x10+0+0" 10 ##JMCRES1680x1050##IconManagers ##JMCRES1680x1050##{ ##JMCRES1680x1050## "xmms" "531x5+0+951" 1 ##JMCRES1680x1050## "Audacious" "531x5+0+951" 1 ##JMCRES1680x1050## "gxine" "531x5+0+951" 1 ##JMCRES1680x1050## "[Aa]marok*" "531x5+0+951" 1 ##JMCRES1680x1050## "[Ff]irefox*" "447x5-0+951" 1 ##JMCRES1680x1050## "[Mm]ozilla*" "447x5-0+951" 1 ##JMCRES1680x1050##} # # Lists # Function "VTWM Profile" { f.exec "~/.themes_vtwm/bin/get_vtwm_theme.sh KILL" f.exec "xsetroot -bg black -fg DarkSlateGrey -bitmap /usr/X11R6/include/X11/bitmaps/grid16 &" ##JMCRESOTHERS## f.exec "rclock -fg lightblue -bg black -geometry '57x50+0-0' &" ##JMCRESOTHERS## f.exec "xload -bg black -fg lightblue -geometry 140x50+62-0 &" ##JMCRESOTHERS## f.exec "xnetload -interface eth0 -nc -fg lightblue -bg black -geometry 280x50+206-0 &" ##JMCRES1024x768## f.exec "rclock -fg lightblue -bg black -geometry '57x50+0-0' &" ##JMCRES1024x768## f.exec "xload -bg black -fg lightblue -geometry 140x50+62-0 &" ##JMCRES1024x768## f.exec "xnetload -interface eth0 -nc -fg lightblue -bg black -geometry 280x50+206-0 &" f.exec "rclock -fg lightblue -bg black -geometry '57x60+0-0' &" f.exec "xload -bg black -fg lightblue -geometry 140x60+62-0 &" f.exec "xnetload -interface eth0 -nc -fg lightblue -bg black -geometry 330x60+206-0 &" ##JMCRES1680x1050## f.exec "rclock -fg lightblue -bg black -geometry '72x71+0-0'&" ##JMCRES1680x1050## f.exec "xload -bg black -fg lightblue -geometry 150x71+76-0 &" ##JMCRES1680x1050## f.exec "xnetload -nc -interface eth0 -fg lightblue -bg black -geometry 300x71+231-0 -font '7x14' &" } Pixmaps { TitleHighlight ":xpm:sunkenbox" # Fix Buttons for 4.7 MenuIconPixmap ":xpm:rarrow" # Fix Menu button for 4.7 IconManagerPixmap ":xpm:zoom" } NoTitle { "VTWM Icon Manager" "VTWM Desktop" "XMMS*" "X11Amp" "xeyes" "xlogo" "wmbiff" "rclock" "asapm" "xclock" "xsysinfo" "xload" "xnetload" "xapm" "torsmo" } NoBorder { "TWM Icon Manager" } IconifyByUnmapping NoHighlight { "xlogo" "wmbiff" "rclock" "asapm" "xclock" "xsysinfo" "xload" "xnetload" "torsmo" } NailedDown { "VTWM Icon Manager" "VTWM Desktop" "xclock" "xsysinfo" "xload" "xnetload" "xeyes" "xlogo" "wmbiff" "rclock" "asapm" "xclock" "torsmo" } IconManagerDontShow { "VTWM Icon Manager" "VTWM Desktop" "xclock" "xsysinfo" "xload" "xnetload" "xeyes" "xlogo" "wmbiff" "rclock" "asapm" "xclock" "torsmo" } DontShowInDisplay { "VTWM Icon Manager" "VTWM Desktop" "xclock" "xsysinfo" "xload" "xnetload" "xeyes" "xlogo" "wmbiff" "rclock" "asapm" "xclock" "torsmo" } DontShowInVtwmWindows { "VTWM Icon Manager" "VTWM Desktop" "xclock" "xsysinfo" "xload" "xnetload" "xeyes" "torsmo" } Color { DefaultBackground "steelblue" DefaultForeground "black" BorderColor "PowderBlue" BorderTileBackground "steelblue" BorderTileForeground "gray85" TitleBackground "black" TitleForeground "lightblue" MenuBackground "black" MenuForeground "lightblue" # JMC WAS "darkblue" MenuTitleBackground "steelblue" MenuTitleForeground "black" IconBackground "darkgrey" IconForeground "darkblue" IconBorderColor "gray85" IconManagerBackground "black" IconManagerForeground "lightblue" IconManagerHighlight "grey" VirtualBackground "black" VirtualForeground "grey" DesktopDisplayBackground "grey60" RealScreenBackground "gray15" # Active Panner } # # Titlebar buttons # NoDefaultTitleButtons # # 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 } Function "jmc_w1" { f.panleft "100" f.panleft "100" f.panleft "100" } Function "jmc_w2" { f.function "jmc_w1" f.panright "100" } Function "jmc_w3" { f.function "jmc_w2" f.panright "100" } Function "jmc_w4" { f.function "jmc_w2" f.panright "100" f.panright "100" } #------------------------------------------------------------------------------ # buttons #------------------------------------------------------------------------------ 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 ### JMC KEYS "1" = m : all : f.iconify "2" = m : all : f.zoom "3" = m : all : f.horizoom "4" = m : all : f.fullzoom "q" = m : all : f.delete "Tab" = m : all : f.lower "r" = m : all : f.restart "F1" = m : all : f.function "jmc_w1" "F2" = m : all : f.function "jmc_w2" "F3" = m : all : f.function "jmc_w3" "F4" = m : all : f.function "jmc_w4" "Left" = m : all : f.backiconmgr "Right" = m : all : f.forwiconmgr "Up" = m : all : f.backiconmgr "Down" = m : all : f.forwiconmgr ############################################################################### # Add Menu ############################################################################### ###ADD_AUTO_RAISE### ###ADD_MENU### # some people do not like this, so can be commented # or changed AutoRaiseDelay 100 AutoRaise #------------------------------------------------------------------------------ # Created by ~/.themes_vtwm/bin/mk_theme_menu.sh #------------------------------------------------------------------------------ Function "Theme_As" { f.exec "~/.themes_vtwm/bin/get_vtwm_theme.sh As" f.restart } Function "Theme_black" { f.exec "~/.themes_vtwm/bin/get_vtwm_theme.sh black" f.restart } Function "Theme_conky" { f.exec "~/.themes_vtwm/bin/get_vtwm_theme.sh conky" f.restart } Function "Theme_jgrid" { f.exec "~/.themes_vtwm/bin/get_vtwm_theme.sh jgrid" f.restart } Function "Theme_matrix" { f.exec "~/.themes_vtwm/bin/get_vtwm_theme.sh matrix" f.restart } Function "Theme_slate" { f.exec "~/.themes_vtwm/bin/get_vtwm_theme.sh slate" f.restart } Function "Theme_std_1" { f.exec "~/.themes_vtwm/bin/get_vtwm_theme.sh std_1" f.restart } Function "Theme_std_2" { f.exec "~/.themes_vtwm/bin/get_vtwm_theme.sh std_2" f.restart } #------------------------------------------------------------------------------ # Created by ~/.themes_vtwm/bin/mk_theme_menu.sh #------------------------------------------------------------------------------ menu "menu_vtwm_themes" { "VTWM Themes" f.title "As" f.function "Theme_As" "black" f.function "Theme_black" "conky" f.function "Theme_conky" "" f.separator "jgrid" f.function "Theme_jgrid" "matrix" f.function "Theme_matrix" "slate" f.function "Theme_slate" "" f.separator "std_1" f.function "Theme_std_1" "std_2" f.function "Theme_std_2" } ############################################################################### # 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 "Edit appointments" f.exec "gvim ~/.rclock &" "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" { " jgrid " 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