Advertisement
Dj_Dexter

.vtwmrc

May 23rd, 2012
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.08 KB | None | 0 0
  1. #
  2. # General options
  3. #
  4.  
  5. AutoPan 100
  6. AutoPanBorderWidth 5
  7. NaturalAutopanBehavior
  8. PanDistanceY 100
  9. PanDistanceX 100
  10. SnapRealScreen
  11. PanResistance 500
  12.  
  13. DecorateTransients
  14. DontMoveOff
  15. MaxWindowSize "1152x864"
  16. RandomPlacement
  17. #SqueezeTitle
  18.  
  19. NoCaseSensitive
  20. NoGrabServer
  21.  
  22. AutoRaiseDelay 0
  23. AutoRelativeResize
  24. MoveDelta 3
  25.  
  26. DeiconifyToScreen
  27. ForceIcons
  28. IconDirectory "/usr/share/icons/"
  29. IconRegion "600x75-200+0" North West 75 25
  30. ResizeRegion "NorthEast"
  31. RestartPreviousState
  32. UnknownIcon "unknown1.xpm"
  33. WarpCursor
  34.  
  35. #ShowIconManager
  36. SortIconManager
  37. IconManagerGeometry "500x19+1-20" 4
  38.  
  39. FixManagedVirtualGeometries
  40. FixTransientVirtualGeometries
  41. VirtualDesktop "4x1+860+806" 16
  42.  
  43. ShallowReliefWindowButton
  44. SunkFocusWindowTitle
  45.  
  46. BorderWidth 1
  47. BorderBevelWidth 1
  48. ButtonBevelWidth 1
  49. IconBevelWidth 1
  50. IconManagerBevelWidth 1
  51. InfoBevelWidth 1
  52. MenuBevelWidth 1
  53. TitleBevelWidth 1
  54.  
  55. ClearBevelContrast 40
  56. DarkBevelContrast 40
  57.  
  58. #
  59. # Fonts
  60. #
  61.  
  62. ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
  63. TitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
  64. MenuFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
  65. MenuTitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
  66. IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
  67. IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*"
  68.  
  69. #
  70. # Lists
  71. #
  72. Function "VTWM Profile"
  73. {
  74. # f.exec "killall conky ; sleep 1 ; /usr/bin/conky -c ~/.conkyrc &"
  75. # f.exec "Esetroot -f /u/local/Pictures/ALL/RubikSapphire1920.jpg
  76. f.exec "killall gkrellm ; sleep 1; gkrellm -g 1356-0+100 &"
  77. # f.exec "eval `cat $HOME/.fehbg` &"
  78. f.exec "sh $HOME/.fehbg &"
  79. f.exec "killall parcellite ; sleep 1 ; parcellite &"
  80. # f.exec "trayer --transparent true --edge top --distance 5 --widthtype request --width 100 --alpha 250 --tint blue --SetDockType false --SetPartialStrut True &"
  81. f.exec "trayer --transparent true --edge top --distance 160 --widthtype request --width 100 --alpha 250 --tint blue --SetDockType false --align left &"
  82. f.exec "autocutsel &"
  83. f.exec "xcompmgr -c &"
  84. f.exec "xsetroot -cursor_name left_ptr &"
  85. f.exec "numlockx &"
  86. }
  87.  
  88. Icons
  89. {
  90. "*term" "xterm.xpm"
  91. "rxvt" "xterm.xpm"
  92. "xv" "xv2.xpm"
  93. "xcalc" "rcalc2.xpm"
  94. "xman" "xman.xpm"
  95. "emacs" "gnu-animal.xpm"
  96. }
  97.  
  98. NoTitle
  99. {
  100. "VTWM Icon Manager"
  101. "VTWM Desktop"
  102. "XMMS*"
  103. "X11Amp"
  104. "xeyes"
  105. "aterm"
  106. "gkrellm"
  107. }
  108.  
  109. NailedDown
  110. {
  111. "VTWM Icon Manager"
  112. "VTWM Desktop"
  113. "xclock"
  114. "xload"
  115. "xeyes"
  116. "gkrellm"
  117. "trayer"
  118. }
  119.  
  120. IconManagerDontShow
  121. {
  122. "VTWM Icon Manager"
  123. "VTWM Desktop"
  124. "xclock"
  125. "xload"
  126. "xeyes"
  127. "gkrellm"
  128. "trayer"
  129. }
  130.  
  131. DontShowInDisplay
  132. {
  133. "VTWM Icon Manager"
  134. "VTWM Desktop"
  135. "xclock"
  136. "xload"
  137. "xeyes"
  138. "gkrellm"
  139. }
  140.  
  141. DontShowInVtwmWindows
  142. {
  143. "VTWM Icon Manager"
  144. "VTWM Desktop"
  145. "xclock"
  146. "xload"
  147. "xeyes"
  148. "gkrellm"
  149. }
  150.  
  151. AutoRaise
  152. {
  153. }
  154.  
  155. #
  156. # Colors (DOH!)
  157. #
  158.  
  159. Color
  160. {
  161. BorderColor "grey"
  162. BorderTileBackground "steelblue"
  163. BorderTileForeground "gray85"
  164. DefaultBackground "darkblue"
  165. DefaultForeground "beige"
  166. TitleBackground "black"
  167. TitleForeground "gray85"
  168. MenuBackground "black"
  169. MenuForeground "darkblue"
  170. MenuTitleBackground "steelblue"
  171. MenuTitleForeground "black"
  172. IconBackground "darkgrey"
  173. IconForeground "darkblue"
  174. IconBorderColor "gray85"
  175. IconManagerBackground "black"
  176. IconManagerForeground "white"
  177. IconManagerHighlight "grey"
  178. VirtualBackground "black"
  179. VirtualForeground "grey"
  180. DesktopDisplayBackground "grey60"
  181. }
  182.  
  183. #
  184. # Titlebar buttons
  185. #
  186.  
  187. NoDefaultTitleButtons
  188.  
  189. LeftTitleButton ":dot" = f.menu "winops"
  190. RightTitleButton ":menu" = f.iconify
  191. RightTitleButton ":resize" = f.fullzoom
  192. RightTitleButton ":delete" = f.delete
  193.  
  194. #
  195. # Functions and Bindings
  196. #
  197.  
  198. Function "move-or-lower" { f.move f.deltastop f.lower }
  199. Function "move-or-raise" { f.move f.deltastop f.raise }
  200. Function "move-or-iconify" { f.move f.deltastop f.iconify }
  201.  
  202. Button1 = : root : f.menu "winops"
  203. Button2 = : root : f.menu "VTWM Windows"
  204. Button3 = : root : f.menu "defops"
  205.  
  206. Button1 = m : window|icon : f.function "move-or-lower"
  207. Button2 = m : window|icon : f.iconify
  208. Button3 = m : window|icon : f.function "move-or-raise"
  209.  
  210. Button1 = : title : f.function "move-or-raise"
  211. Button2 = : title : f.raiselower
  212.  
  213. Button1 = : icon : f.function "move-or-iconify"
  214. Button2 = : icon : f.iconify
  215.  
  216. Button1 = : iconmgr : f.iconify
  217. Button2 = : iconmgr : f.iconify
  218. Button3 = : iconmgr : f.raise
  219.  
  220. Button1 = : virtual | desktop : f.movescreen
  221. Button2 = : virtual | desktop : f.movescreen
  222.  
  223. "1" = m1 : all : f.setrealscreen "+0+0"
  224. "2" = m1 : all : f.setrealscreen "+1152+0"
  225. "3" = m1 : all : f.setrealscreen "+2304+0"
  226. "4" = m1 : all : f.setrealscreen "+3456+0"
  227.  
  228. "Up" = : root : f.panup "100"
  229. "Down" = : root : f.pandown "100"
  230. "Left" = : root : f.panleft "100"
  231. "Right" = : root : f.panright "100"
  232.  
  233. "F4" = m1 : window | icon : f.delete
  234.  
  235. #
  236. # Menus
  237. #
  238.  
  239. menu "defops"
  240. {
  241. " VTWM " f.title
  242. "Aterm" f.exec "aterm -tr -sh 40 -bg black -fn 8x10 -fg white +sb &"
  243. "Aterm..." f.exec "atermX &"
  244. "Urxvt" f.exec "urxvt -pe tabbed"
  245. "Opera" f.exec "opera &"
  246. "Pcmanfm" f.exec "pcmanfm &"
  247. "Run..." f.exec "gmrun &"
  248. #"Firefox" f.exec "mozilla-firefox &"
  249. "" f.nop
  250. "Network" f.menu "network"
  251. "Utilities" f.menu "utils"
  252. "Multimedia" f.menu "multimedia"
  253. "" f.nop
  254. "Restart" f.restart
  255. "Exit" f.quit
  256. }
  257.  
  258. menu "network"
  259. {
  260. " Network " f.title
  261. "aMSN" f.exec "amsn &"
  262. "emesene" f.exec "emesene"
  263. "Gajim" f.exec "gajim"
  264. "Pidgin" f.exec "pidgin &"
  265. "gftp" f.exec "gftp &"
  266. }
  267.  
  268. menu "utils"
  269. {
  270. " Utilities " f.title
  271. "xLock" f.exec "xlock -nice 0 -mode blank &"
  272. "xPDF" f.exec "xpdf &"
  273. "VirtualBox" f.exec "VirtualBox &"
  274. }
  275.  
  276. menu "multimedia"
  277. {
  278. " Multimedia " f.title
  279. "Gimp" f.exec "gimp &"
  280. "Audacious" f.exec "audacious &"
  281. "MOC" f.exec "xterm -e mocp &"
  282. "Xine" f.exec "xine &"
  283. }
  284.  
  285. menu "winops"
  286. {
  287. " Window " f.title
  288. "Identify" f.identify
  289. "" f.nop
  290. "AutoRaise" f.autoraise
  291. "Iconify" f.iconify
  292. "Resize" f.resize
  293. "Move" f.move
  294. "" f.nop
  295. "Raise" f.raise
  296. "Lower" f.lower
  297. "Nail" f.nail
  298. "Focus" f.focus
  299. "" f.nop
  300. "Fullzoom" f.fullzoom
  301. "Horizoom" f.horizoom
  302. "Vertzoom" f.zoom
  303. "" f.nop
  304. "Kill" f.destroy
  305. "Delete" f.delete
  306. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement