# # vtwm -- Theme Black # #------------------------------------------------------------------------------ # Path -- seems only one path statement is allowed #------------------------------------------------------------------------------ IconDirectory "~/.themes_vtwm/images" #------------------------------------------------------------------------------ # switches #------------------------------------------------------------------------------ NoGrabServer RestartPreviousState DecorateTransients FixManagedVirtualGeometries # corrects window placement in panner ##JMCRES1680x1050##TitleFont "-adobe-helvetica-bold-r-normal--*-140-*-*-*-*-*-*" ##JMCRES1680x1050##ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRES1680x1050##MenuFont "-adobe-helvetica-bold-r-normal--*-140-*-*-*-*-*-*" ##JMCRES1680x1050##MenuTitleFont "-adobe-helvetica-bold-r-normal--*-140-*-*-*-*-*-*" ##JMCRES1680x1050##IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" ##JMCRES1680x1050##InfoFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" ##JMCRES1680x1050##IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*" ##JMCRES1680x1050##VirtualDesktopFont "-adobe-helvetica-medium-o-normal--*-80-*-*-*-*-*-*" ##JMCRES1680x1050##IconManagerGeometry "102x20-0+0" 1 # on Top ##JMCRES1680x1050##IconManagers ##JMCRES1680x1050##{ ##JMCRES1680x1050## "Audacious" "Audacious" "450x5-0+0" 1 ##JMCRES1680x1050## "xmms" "xmms" "450x5-0+0" 1 ##JMCRES1680x1050## "gxine" "gxine" "450x5-0+0" 1 ##JMCRES1680x1050## "[Ff]irefox*" "Firefox" "450x5-0-17" 1 ##JMCRES1680x1050##} ##JMCRES1680x1050##AppletRegion "191x172-0-0" South east 100 100 ##JMCRES1680x1050##{ ##JMCRES1680x1050## "wmbiff" ##JMCRES1680x1050## "wmweather" ##JMCRES1680x1050## "wmWeather" ##JMCRES1680x1050##} TitleFont "-adobe-helvetica-bold-r-normal--*-140-*-*-*-*-*-*" ResizeFont "-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-*-*-*-*-*-*" InfoFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*" VirtualDesktopFont "-adobe-helvetica-medium-o-normal--*-80-*-*-*-*-*-*" IconManagerGeometry "102x20-0+0" 1 # on Top IconManagers { "Audacious" "Audacious" "450x5-0+0" 1 "xmms" "xmms" "450x5-0+0" 1 "gxine" "gxine" "450x5-0+0" 1 "[Ff]irefox*" "Firefox" "450x5-0-17" 1 } AppletRegion "80x80-0-0" South east 100 100 { "wmbiff" } ##JMCRES1024x768##TitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRES1024x768##ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRES1024x768##MenuFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRES1024x768##MenuTitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRES1024x768##IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" ##JMCRES1024x768##InfoFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" ##JMCRES1024x768##IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*" ##JMCRES1024x768##VirtualDesktopFont "-adobe-helvetica-medium-o-normal--*-80-*-*-*-*-*-*" ##JMCRES1024x768##IconManagerGeometry "102x20-0+0" 1 # on Top ##JMCRES1024x768##IconManagers ##JMCRES1024x768##{ ##JMCRES1024x768## "Audacious" "Audacious" "450x5-0+0" 1 ##JMCRES1024x768## "xmms" "xmms" "450x5-0+0" 1 ##JMCRES1024x768## "gxine" "gxine" "450x5-0+0" 1 ##JMCRES1024x768## "[Ff]irefox*" "Firefox" "450x5-0-17" 1 ##JMCRES1024x768##} ##JMCRES1024x768##AppletRegion "80x80-0-0" South east 100 100 ##JMCRES1024x768##{ ##JMCRES1024x768## "wmbiff" ##JMCRES1024x768##} ##JMCRESOTHERS##TitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRESOTHERS##ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRESOTHERS##MenuFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRESOTHERS##MenuTitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ##JMCRESOTHERS##IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" ##JMCRESOTHERS##InfoFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" ##JMCRESOTHERS##IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*" ##JMCRESOTHERS##VirtualDesktopFont "-adobe-helvetica-medium-o-normal--*-80-*-*-*-*-*-*" ##JMCRESOTHERS##IconManagerGeometry "102x20-0+0" 1 # on Top ##JMCRESOTHERS##IconManagers ##JMCRESOTHERS##{ ##JMCRESOTHERS## "Audacious" "Audacious" "450x5-0+0" 1 ##JMCRESOTHERS## "xmms" "xmms" "450x5-0+0" 1 ##JMCRESOTHERS## "gxine" "gxine" "450x5-0+0" 1 ##JMCRESOTHERS## "[Ff]irefox*" "Firefox" "450x5-0-17" 1 ##JMCRESOTHERS##} ##JMCRESOTHERS##AppletRegion "80x80-0-0" South east 100 100 ##JMCRESOTHERS##{ ##JMCRESOTHERS## "wmbiff" ##JMCRESOTHERS##} BorderWidth 3 ButtonIndent 2 NoHighlight AutoRelativeResize FramePadding 0 NoRaiseOnMove OpaqueMove ForceIcons # Override Client Icons NoDefaults #ClientBorderWidth 2 #DefaultBackground ### VTWM Specific BEGIN RandomPlacement OldFashionedTwmWindowsMenu AutoPan 10 PanResistance 100 StayUpOptionalMenus RightHandSidePulldownMenus ##Zoom 1200 #ZoomZoom #PrettyZoom #LessRandomZoomZoom StrictIconManager # Only show icionified clients in Manager NotVirtualGeometries FixTransientVirtualGeometries StaticIconPositions VirtualDesktop "2x2+0-0" 20 BorderBevelWidth 1 # 3d Borders, needed for bug ### VTWM Specific END Function "VTWM Profile" { f.exec "~/.themes_vtwm/bin/get_vtwm_theme.sh KILL" f.exec "xsetroot -solid black &" ##JMCRES1680x1050## f.exec "rclock -fg gray85 -bg black -geometry '90x90+0+0' &" f.exec "rclock -fg gray85 -bg black -geometry '70x70+0+0' &" ##JMCRES1024x768## f.exec "rclock -fg gray85 -bg black -geometry '57x49+0+0' &" ##JMCRESOTHERS## f.exec "rclock -fg gray85 -bg black -geometry '57x49+0+0' &" } IconifyByUnmapping { "xmms" "gxine" "Firefox" "firefox" } DontShowInTwmWindows { "VTWM Icon Manager" "VTWM Desktop" "asclock" "astime" "emiclock" "gkrellm" "oclock" "swisswatch" "xdaliclock" "Dali Clock" "xbiff" "[Xx]message*" "xclock" "xvclock" "daliclock" "xdaliclock" "xeyes" "xload" "bubblefishymon" "lavaps" "wmmemmon" "wmitime" "wmcpuload" "wmWeather" } DontShowInVtwmWindows { "VTWM Icon Manager" "VTWM Desktop" "asclock" "astime" "emiclock" "gkrellm" "oclock" "swisswatch" "xdaliclock" "Dali Clock" "xbiff" "[Xx]message*" "xclock" "xvclock" "daliclock" "xdaliclock" "xeyes" "xload" "bubblefishymon" "lavaps" "wmmemmon" "wmitime" "wmcpuload" "wmWeather" } NailedDown { "VTWM*" "VTWM Icon Manager" "VTWM Desktop" "Appointment" "asclock" "astime" "emiclock" "gkrellm" "mailtool" "oclock" "wmbiff" "rclock" "asapm" "swisswatch" "xbiff" "[Xx]message*" "xeyes" "xclock" "xvclock" "xdaliclock" "xconsole" "xload" "bubblefishymon" "lavaps" "xmailbox" "xneko" "gnomecal" # Calendar "Calendar" # Calendar "Information" # gnomecal "wmmemmon" "wmitime" "wmcpuload" "wmWeather" } DontShowInDisplay { "VTWM*" "VTWM Icon Manager" "VTWM Desktop" "asclock" "astime" "emiclock" "gkrellm" "oclock" "wmbiff" "rclock" "asapm" "swisswatch" "xbiff" "xconsole" "xeyes" "xclock" "xvclock" "xdaliclock" "xload" "bubblefishymon" "lavaps" "xneko" "xmailbox" "wmmemmon" "wmitime" "wmcpuload" "wmWeather" } IconManagerDontShow { "VTWM*" "VTWM Icon Manager" "VTWM Desktop" "asclock" "astime" "gnomecal" "Calendar" "emiclock" "gkrellm" "oclock" "swisswatch" "xclock" "xvclock" "xdaliclock" "xeyes" "xload" "bubblefishymon" "lavaps" "xmailbox" "xneko" "xbiff" "user_popup" # xbmbrowser "wmmemmon" "wmitime" "wmcpuload" "wmWeather" } NoBorder { "wmbiff" "rclock" "asapm" # "VTWM Desktop" } NoTitle { "TWM Icon Manager" "VTWM Desktop" "VTWM Icon Manager" "VTWM*" "asclock" "astime" "bubblefishymon" "emiclock" "gkrellm" "lavaps" "oclock" "wmbiff" "rclock" "asapm" "swisswatch" "user_popup" # xbmbrowser "wmWeather" "wmcpuload" "wmitime" "wmmemmon" "xbiff" "xclock" "xdaliclock" "xeyes" "xload" "xmailbox" "xmms Icon Manager" "gxine Icon Manager" "xneko" "xvclock" "xmms" } Color { BorderColor "gray85" DefaultBackground "black" DefaultForeground "gray85" TitleBackground "black" TitleForeground "gray85" MenuBackground "black" MenuForeground "gray85" MenuTitleBackground "gray65" MenuTitleForeground "black" IconBackground "black" IconForeground "white" IconBorderColor "black" IconManagerBackground "black" IconManagerForeground "gray85" VirtualBackground "black" VirtualForeground "grey30" DesktopDisplayBorder "grey70" DesktopDisplayForeground "black" DesktopDisplayBackground "gray30" #"grey60" # RealScreenForeground "red" RealScreenBackground "gray15" #"gray20" # Active Panner } ############################################################################### # Define some useful functions for motion-based actions. ############################################################################### MoveDelta 1 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 "icon-refresh" { f.iconify f.refresh} # f.refresh needed for Zoom # # Set some useful bindings. Sort of uwm-ish, sort of # simple-button-ish # Button1 = : root : f.menu "TwmWindows" Button2 = : root : f.menu "Mroot_middle_button" Button3 = : root : f.menu "Mroot_right_button" 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 : f.function "move-or-raise" Button2 = : title : f.fullzoom Button3 = : title : f.menu "Mtitle_menu" Button1 = : icon : f.function "move-or-iconify" #Button2 = : icon : f.destroy Button3 = : icon : f.iconify Button1 = : iconmgr : f.iconify Button2 = : iconmgr : f.destroy Button3 = : iconmgr : f.iconify # This is for the window bar LeftTitleButton ":dot" = f.iconify #f.function "icon-refresh" LeftTitleButton ":xlogo" = f.delete RightTitleButton ":resize" = f.resize #LeftTitleButton "/usr/X11R6/include/X11/bitmaps/checkmark.xbm" = f.delete #LeftTitleButton "/usr/X11R6/include/X11/bitmaps/xm_noenter16" = f.delete #RightTitleButton "/usr/X11/include/bitmaps/menu12" = f.resize # 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" } Cursors { Frame "left_ptr" Title "left_ptr" Icon "left_ptr" IconMgr "left_ptr" Move "fleur" Resize "fleur" Menu "right_ptr" # hand1 Button "hand2" Wait "clock" Select "dot" Destroy "pirate" } ############################################################################### # now some keyboard functions ############################################################################### "Tab" = m : all : f.lower "r" = m : all : f.restart "1" = m : all : f.iconify #f.function "icon-refresh" "2" = m : all : f.zoom "3" = m : all : f.horizoom "4" = m : all : f.fullzoom "q" = m : all : f.delete "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" ############################################################################### # END .vtwmrc-black ############################################################################### ############################################################################### # Add Menu ############################################################################### ###ADD_AUTO_RAISE### ###ADD_ICONS### ###ADD_MENU### # some people do not like this, so can be commented # or changed AutoRaiseDelay 100 AutoRaise UnknownIcon "oicon.xbm" Icons { "Xjewel" "tetris2.xbm" "Gnometris" "tetris.xbm" "Brush Selection" "paint2.xbm" "Color Palette" "palette2.xbm" "GVim" "edit.xbm" "Gradient Selection" "grainy.xbm" "Indexed Color Palette" "palette2.xbm" "Load Image" "pic_frame.xbm" "Mozilla-bin" "network.xbm" "New Image" "pic_frame.xbm" "Pattern Selection" "pattern1.xbm" "Save Image" "pic_frame.xbm" "Screen Shot" "terminal_say.xbm" "Send to Mail" "mail_open.xbm" "The GIMP" "palette2.xbm" "The Gimp" "palette2.xbm" "VTWM Desktop" "odesk.xbm" "XGammon-Buttons" "autocad.xbm" "XTerm" "Term" "abiword" "words.xbm" "emacs" "emacs.xbm" "gnome-calculator" "calculator.xbm" "gnome-cd" "cd_caddy.xbm" "gnome-dictionary" "webster_dict.xbm" "gnomecal" "calendar.xbm" "gnumeric" "sc.xbm" "gvim" "edit.xbm" "image_window" "pic_frame.xbm" "kmail" "mail_new.xbm" "konqueror" "filing.xbm" "kspread" "sc.xbm" "kstars" "galaxy.xbm" "kword" "words.xbm" "navigator:browser" "netscape.xbm" "netscape" "netscape.xbm" "print" "printer.xbm" "virtualDesktop" "odesk.xbm" "x11amp" "xfm_au.xbm" "xmahjongg" "chip.xbm" "xpaint" "palette.xbm" } #------------------------------------------------------------------------------ # 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" { " black " 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