Advertisement
BSDG33KCLUB

.twmrc purple by:cypx

Feb 26th, 2014
456
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.71 KB | None | 0 0
  1. NoGrabServer
  2. RestartPreviousState
  3. DecorateTransients
  4. TitleFont "-*-terminus-medium-r-normal-*-12-*-*-*-c-*-*-1"
  5. ResizeFont "-*-terminus-medium-r-normal-*-12-*-*-*-c-*-*-1"
  6. MenuFont "-*-terminus-medium-r-normal-*-12-*-*-*-c-*-*-1"
  7. IconFont "-*-terminus-medium-r-normal-*-12-*-*-*-c-*-*-1"
  8. IconManagerFont "-*-terminus-medium-r-normal-*-12-*-*-*-c-*-*-1"
  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. # reduce titlebar space
  15. SqueezeTitle
  16. ShowIconManager
  17. SortIconManager
  18. ForceIcons
  19. #ClientBorderWidth 1
  20. BorderWidth 4
  21. IconDirectory "/usr/include/X11/bitmaps"
  22. NoTitle { "xconsole" "file-roller" "vlc" "smplayer" "weechat" "xmms2" "weechat-curses" "nitrogen" "lxappearance" "xlogo" "XClock" "XLoad" "XBiff" "rclock" "bash" "irssi" "chrome" "pcmanfm" "geany" "qbittorrent" "rtorrent" "tmux" "mc" }
  23.  
  24. Color
  25. {
  26. BorderColor "#6E5474"
  27. BorderTileForeground "#AA8EB0"
  28. BorderTileBackground "#191716"
  29. DefaultBackground "#191716"
  30. DefaultForeground "#AA8EB0"
  31. TitleBackground "#191716"
  32. TitleForeground "#AA8EB0"
  33. MenuBackground "#191716"
  34. MenuForeground "#AA8EB0"
  35. MenuBorderColor "#6E5474"
  36. MenuTitleBackground "#AA8EB0"
  37. MenuTitleForeground "#191716"
  38. IconBackground "#191716"
  39. IconForeground "#AA8EB0"
  40. IconBorderColor "#6E5474"
  41. IconManagerBackground "#191716"
  42. IconManagerForeground "#AA8EB0"
  43. PointerForeground "#191716"
  44. PointerBackground "#AA8EB0"
  45. }
  46. # define key bindings
  47. "Tab" = m4 : all : f.circleup
  48. "w" = m4 : all : f.exec "chrome &"
  49. "f" = m4 : all : f.exec "pcmanfm &"
  50. "e" = m4 : all : f.exec "geany &"
  51. "l" = m4 : all : f.exec "lxappearance &"
  52. "n" = m4 : all : f.exec "nitrogen &"
  53. "z" = m4 : all : f.exec "urxvt -e tmux &"
  54. "t" = m4 : all : f.exec "urxvt -e /bin/bash &"
  55. "c" = m4 : all : f.exec "urxvt -e mc &"
  56. "g" = m4 : all : f.exec "gimp"
  57. "v" = m4 : all : f.exec "urxvt -e vim"
  58. "i" = m4 : all : f.exec "urxvt -e weechat &"
  59. "a" = m4 : all : f.exec "file-roller &"
  60. "s" = m4 : all : f.exec "smplayer &"
  61. "d" = m4 : all : f.delete
  62. "x" = m4 : all : f.iconify
  63. "p" = m4 : all : f.exec "dmenu_run &"
  64. "m" = m4 : all : f.fullzoom
  65. "b" = m4 : all : f.exec "qbittorrent &"
  66. "r" = m4 : all : f.restart
  67. "q" = m4 : all : f.quit
  68.  
  69. #
  70. # Define some useful functions for motion-based actions.
  71. #
  72. MoveDelta 3
  73. Function "move-or-lower" { f.move f.deltastop f.lower }
  74. Function "move-or-raise" { f.move f.deltastop f.raise }
  75. Function "move-or-iconify" { f.move f.deltastop f.iconify }
  76. m
  77. #
  78. # Set some useful bindings. Sort of uwm-ish, sort of simple-button-ish
  79. #
  80. Button1 = : root : f.menu "System"
  81. Button3 = : root : f.menu "Applications"
  82.  
  83. Button1 = m : window|icon : f.function "move-or-lower"
  84. Button2 = c m : window|icon : f.iconify
  85. Button3 = m : window|icon : f.function "move-or-raise"
  86.  
  87. Button1 = : title : f.function "move-or-raise"
  88. Button2 = : title : f.raiselower
  89.  
  90. Button1 = : icon : f.function "move-or-iconify"
  91. Button2 = : icon : f.iconify
  92.  
  93. Button1 = : iconmgr : f.iconify
  94. Button2 = : iconmgr : f.iconify
  95.  
  96. Button1 = mod4 : window : f.move
  97. Button3 = mod4 : window : f.resize
  98.  
  99. Cursors
  100. {
  101. Frame "top_left_arrow"
  102. Title "top_left_arrow"
  103. Icon "top_left_arrow"
  104. IconMgr "top_left_arrow"
  105. Move "fleur"
  106. Resize "fleur"
  107. Menu "sb_left_arrow"
  108. Button "hand2"
  109. Wait "watch"
  110. Select "dot"
  111. Destroy "pirate"
  112. }
  113. #
  114. # And a menus with the usual things
  115. #
  116. menu "System"
  117. {
  118. "System" f.title
  119. "Window ops" f.menu "Window Ops"
  120. "Windows" f.menu "TwmWindows"
  121. "" f.nop
  122. "Refresh" f.refresh
  123. "Unfocus" f.unfocus
  124. "Show Icon Box" f.showiconmgr
  125. "Hide Icon Box" f.hideiconmgr
  126. "Version" f.version
  127. "" f.nop
  128. "Restart" f.restart
  129. "Logout" f.quit
  130. }
  131.  
  132. menu "Window Ops"
  133. {
  134. "Window Ops" f.title
  135. "Lower" f.lower
  136. "Raise" f.raise
  137. "Resize" f.resize
  138. "Move" f.move
  139. "Deiconify" f.deiconify
  140. "Iconify" f.iconify
  141. "Identify" f.identify
  142. "Focus" f.focus
  143. "Kill" f.destroy
  144. }
  145.  
  146. menu "Title Menu"
  147. {
  148. "Lower" f.lower
  149. "Raise" f.raise
  150. "Resize" f.resize
  151. "Move" f.move
  152. "Iconify" f.iconify
  153. "Identify" f.identify
  154. "Focus" f.focus
  155. "Kill" f.destroy
  156. "Dismiss" f.delete
  157. }
  158.  
  159.  
  160.  
  161. menu "Applications"
  162. {
  163. "Applications" f.title
  164. "urxvt" !"urxvt -e /bin/bash &"
  165. "mc" !"urxvt -e mc &"
  166. "xmms2" !"urxvt -e xmms2 &"
  167. "chromium" !"chromium &"
  168. "edit" !"geany &"
  169. "vim" !"gvim &"
  170. "tmux" !"urxvt -e tmux &"
  171. "nitrogen" !"nitrogen &"
  172. "lxappearance" !"lxappearance &"
  173. "gimp" !"gimp &"
  174. "file-roller" !"file-roller &"
  175. "pcmanfm" !"pcmanfm &"
  176. "gmrun" !"gmrun &"
  177. }
  178.  
  179. Icons {
  180. "Navigator" "xlogo32"
  181. "urxvt" "terminal"
  182. "geany" "xlogo32"
  183. "pcmanfm" "xlogo32"
  184. "spacefm" "xlogo32"
  185. "file-roller" "xlogo32"
  186. "gvim" "xlogo32"
  187. "nitrogen" "xlogo32"
  188. "lxappearance" "xlogo32"
  189. "qbittorrent" "xlogo32"
  190. "chrome" "xlogo32"
  191. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement