# # General options, for use with conky # #------------------------------------------------------------------------------ # Path -- seems only one path statement is allowed #------------------------------------------------------------------------------ IconDirectory "~/.themes_vtwm/images" #------------------------------------------------------------------------------ # switches #------------------------------------------------------------------------------ ##StrictIconManager # Only show icionified clients in Manager StayUpOptionalMenus OldFashionedTwmWindowsMenu AutoPan 10 AutoPanBorderWidth 5 NaturalAutopanBehavior PanResistance 200 DecorateTransients RandomPlacement NoCaseSensitive NoGrabServer AutoRelativeResize MoveDelta 3 DeiconifyToScreen ForceIcons RestartPreviousState WarpCursor NotVirtualGeometries FixTransientVirtualGeometries FixManagedVirtualGeometries ShowIconManager VirtualDesktop "4x1-0-0" 15 ##JMCRES1680x1050##IconManagerGeometry "1128x10+0+0" 10 ##JMCRES1680x1050##ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRES1680x1050##TitleFont "-adobe-helvetica-bold-r-normal--*-140-*-*-*-*-*-*" ##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##IconManagers ##JMCRES1680x1050##{ ##JMCRES1680x1050## "xmms" "521x5-0+952" 1 ##JMCRES1680x1050## "Audacious" "521x5-0+952" 1 ##JMCRES1680x1050## "gxine" "521x5-0+952" 1 ##JMCRES1680x1050## "[Ff]irefox*" "550x5-0+0" 1 ##JMCRES1680x1050## "[Mm]ozilla*" "550x5-0+0" 1 ##JMCRES1680x1050##} ##JMCRES1680x1050##AppletRegion "81x800-0+128" South East 100 100 ##JMCRES1680x1050##{ ##JMCRES1680x1050## "wmbiff" ##JMCRES1680x1050## "wmweather" ##JMCRES1680x1050## "wmWeather" ##JMCRES1680x1050##} IconManagerGeometry "1020x10+0+0" 7 ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" TitleFont "-adobe-helvetica-bold-r-normal--*-140-*-*-*-*-*-*" 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-*-*-*" IconManagers { "xmms" "863x5+0-15" 1 "Audacious" "863x5+0-15" 1 "gxine" "863x5+0-15" 1 "[Ff]irefox*" "409x5-0+868" 1 "[Mm]ozilla*" "409x5-0+868" 1 } ##JMCRES1024x768##IconManagerGeometry "1020x10+0+0" 7 ##JMCRES1024x768##ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRES1024x768##TitleFont "-adobe-helvetica-bold-r-normal--*-140-*-*-*-*-*-*" ##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##IconManagers ##JMCRES1024x768##{ ##JMCRES1024x768## "xmms" "680x5+0+745" 1 ##JMCRES1024x768## "Audacious" "680x5+0+745" 1 ##JMCRES1024x768## "gxine" "680x5+0+745" 1 ##JMCRES1024x768## "[Ff]irefox*" "335x5-0+689" 1 ##JMCRES1024x768## "[Mm]ozilla*" "335x5-0+689" 1 ##JMCRES1024x768##} ##JMCRESOTHERS##IconManagerGeometry "1020x10+0+0" 7 ##JMCRESOTHERS##ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRESOTHERS##TitleFont "-adobe-helvetica-bold-r-normal--*-140-*-*-*-*-*-*" ##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##IconManagers ##JMCRESOTHERS##{ ##JMCRESOTHERS## "xmms" "680x5+0+745" 1 ##JMCRESOTHERS## "Audacious" "680x5+0+745" 1 ##JMCRESOTHERS## "gxine" "680x5+0+745" 1 ##JMCRESOTHERS## "[Ff]irefox*" "335x5-0+689" 1 ##JMCRESOTHERS## "[Mm]ozilla*" "335x5-0+689" 1 ##JMCRESOTHERS##} BorderWidth 2 ### Start 3d ShallowReliefWindowButton BorderBevelWidth 1 ButtonBevelWidth 1 IconBevelWidth 1 IconManagerBevelWidth 1 InfoBevelWidth 1 MenuBevelWidth 1 TitleBevelWidth 1 DarkBevelContrast 40 ClearBevelContrast 40 ButtonIndent -1 # Fixes Buttons for 4.7 TitleButtonBorderWidth 0 # Fixes Buttons for 4.7 ### End 3d # # 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+685+713' &" ##JMCRES1024x768## f.exec "rclock -fg lightblue -bg black -geometry '57x50+685+713' &" f.exec "rclock -fg lightblue -bg black -geometry '64x64+867+892' &" ##JMCRES1680x1050## f.exec "rclock -fg lightblue -bg black -geometry '69x69+1155-0' &" } 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*" "audacious*" "Audacious*" "X11Amp" "xeyes" "rclock" "wmWeather" "wmbiff" "xlogo" "xclock" "xload" "xnetload" "xapm" } NoBorder { "TWM Icon Manager" } IconifyByUnmapping NoHighlight { "rclock" "wmWeather" "wmbiff" "xlogo" "xclock" "xload" "xnetload" } NailedDown { "VTWM Icon Manager" "VTWM Desktop" "xlogo" "xclock" "xload" "xnetload" "xeyes" "rclock" "wmWeather" "wmbiff" "xlogo" "xclock" "[Xx]message*" } IconManagerDontShow { "VTWM Icon Manager" "VTWM Desktop" "xlogo" "xclock" "xload" "xnetload" "xeyes" "rclock" "wmWeather" "wmbiff" "xlogo" "xclock" } DontShowInDisplay { "VTWM Icon Manager" "VTWM Desktop" "xlogo" "xclock" "xload" "xnetload" "xeyes" "rclock" "wmWeather" "wmbiff" "xlogo" "xclock" } DontShowInVtwmWindows { "VTWM Icon Manager" "VTWM Desktop" "xlogo" "xclock" "xload" "xnetload" "xeyes" "wmbiff" } # # Colors # Color { BorderColor "PowderBlue" BorderTileBackground "steelblue" BorderTileForeground "gray85" DefaultBackground "black" DefaultForeground "beige" 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 } # # 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 #------------------------------------------------------------------------------ NoDefaultTitleButtons 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 ### Keyboard "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" { " conky " 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