Advertisement
BSDG33KCLUB

.twmrc -- vintage

Feb 18th, 2014
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.83 KB | None | 0 0
  1. NoGrabServer
  2. RestartPreviousState
  3. DecorateTransients
  4. TitleFont "-*-drift-medium-r-normal-*-*-*-*-*-*-*-*-*"
  5. ResizeFont "-*-drift-medium-r-normal-*-*-*-*-*-*-*-*-*"
  6. MenuFont "-*-drift-medium-r-normal-*-*-*-*-*-*-*-*-*"
  7. IconFont "-*-drift-medium-r-normal-*-*-*-*-*-*-*-*-*"
  8. IconManagerFont "-*-drift-medium-r-normal-*-*-*-*-*-*-*-*-*"
  9. #TitleFont "-*-tamsyn-medium-r-normal-*-*-87-*-*-*-*-*-*"
  10. #ResizeFont "-*-tamsyn-medium-r-normal-*-*-87-*-*-*-*-*-*"
  11. #MenuFont "-*-tamsyn-medium-r-normal-*-*-87-*-*-*-*-*-*"
  12. #IconFont "-*-tamsyn-medium-r-normal-*-*-87-*-*-*-*-*-*"
  13. #IconManagerFont "-*-tamsyn-medium-r-normal-*-*-87-*-*-*-*-*-*"
  14. ShowIconManager
  15. SortIconManager
  16. ForceIcons
  17. ClientBorderWidth 1
  18. IconDirectory "/usr/include/X11/bitmaps"
  19.  
  20.  
  21. Color
  22. {
  23. BorderColor "#181512"
  24. BorderTileForeground "#bea492"
  25. BorderTileBackground "#181512"
  26. DefaultBackground "#181512"
  27. DefaultForeground "#bea492"
  28. TitleBackground "#181512"
  29. TitleForeground "#9a875f"
  30. MenuBackground "#181512"
  31. MenuForeground "#9a875f"
  32. MenuBorderColor "#504339"
  33. MenuTitleBackground "#9a875f"
  34. MenuTitleForeground "#181512"
  35. IconBackground "#181512"
  36. IconForeground "#bea492"
  37. IconBorderColor "#504339"
  38. IconManagerBackground "#181512"
  39. IconManagerForeground "#9a875f"
  40. }
  41.  
  42. #
  43. # Define some useful functions for motion-based actions.
  44. #
  45. MoveDelta 3
  46. Function "move-or-lower" { f.move f.deltastop f.lower }
  47. Function "move-or-raise" { f.move f.deltastop f.raise }
  48. Function "move-or-iconify" { f.move f.deltastop f.iconify }
  49.  
  50. #
  51. # Set some useful bindings. Sort of uwm-ish, sort of simple-button-ish
  52. #
  53. Button1 = : root : f.menu "System"
  54. Button3 = : root : f.menu "Applications"
  55.  
  56. Button1 = m : window|icon : f.function "move-or-lower"
  57. Button2 = m : window|icon : f.iconify
  58. Button3 = m : window|icon : f.function "move-or-raise"
  59.  
  60. Button1 = : title : f.function "move-or-raise"
  61. Button2 = : title : f.raiselower
  62.  
  63. Button1 = : icon : f.function "move-or-iconify"
  64. Button2 = : icon : f.iconify
  65.  
  66. Button1 = : iconmgr : f.iconify
  67. Button2 = : iconmgr : f.iconify
  68.  
  69. Button1 = mod1 : window : f.move
  70. Button3 = mod1 : window : f.resize
  71.  
  72. NoTitle
  73. {
  74. "TWM Icon Manager"
  75. "Conky"
  76. "astime"
  77. }
  78.  
  79. #
  80. # And a menus with the usual things
  81. #
  82. menu "System"
  83. {
  84. "System" f.title
  85. "Window ops" f.menu "Window Ops"
  86. "Windows" f.menu "TwmWindows"
  87. "" f.nop
  88. "Refresh" f.refresh
  89. "Unfocus" f.unfocus
  90. "Show Icon Box" f.showiconmgr
  91. "Hide Icon Box" f.hideiconmgr
  92. "Version" f.version
  93. "" f.nop
  94. "Restart" f.restart
  95. "Logout" f.quit
  96. }
  97.  
  98. menu "Window Ops"
  99. {
  100. "Window Ops" f.title
  101. "Lower" f.lower
  102. "Raise" f.raise
  103. "Resize" f.resize
  104. "Move" f.move
  105. "Deiconify" f.deiconify
  106. "Iconify" f.iconify
  107. "Identify" f.identify
  108. "Focus" f.focus
  109. "Kill" f.destroy
  110. }
  111.  
  112. menu "Title Menu"
  113. {
  114. "Lower" f.lower
  115. "Raise" f.raise
  116. "Resize" f.resize
  117. "Move" f.move
  118. "Iconify" f.iconify
  119. "Identify" f.identify
  120. "Focus" f.focus
  121. "Kill" f.destroy
  122. "Dismiss" f.delete
  123. }
  124.  
  125.  
  126.  
  127. menu "Applications"
  128. {
  129. "Applications" f.title
  130. "urxvt" !"urxvtc &"
  131. "firefox" !"firefox &"
  132. "scrot" !"scrot&"
  133. }
  134.  
  135. Icons {
  136. "Navigator" "xlogo32"
  137. "urxvt" "terminal"
  138. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement