Advertisement
BSDG33KCLUB

my lastest .twmrc for openbsd (teal pale blue)

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