BSDG33KCLUB

.twmrc -- plan 9 theme also know as 9twm

Dec 12th, 2013
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. #
  2. # 9twm -- A Plan9/9wm theme for twm by way of mofications to
  3. # .twmrc and .xinitrc.
  4. #
  5. # Version 1.0
  6. #
  7. # By James Deagle ([email protected])
  8. #
  9. # This file is public domain.
  10. #
  11. # "Dilige et quod vis fac." -Augustine of Hippo
  12. #
  13. # August 31, 2009
  14. #
  15. # For best results, your .xinit should include the following:
  16. #
  17. # xsetroot -solid gray -cursor_name draft_small
  18. # xload -g 300x125+0+0 -fg purple -update 3 &
  19. # twm
  20.  
  21.  
  22.  
  23. NoGrabServer
  24. DecorateTransients
  25. MenuFont "-misc-fixed-bold-r-normal--15-140-75-75-c-90-iso8859-1"
  26. BorderWidth 3
  27. ButtonIndent 2
  28. MenuBorderWidth 1
  29. AutoRelativeResize
  30. NoRaiseOnMove
  31. OpaqueMove
  32. NoTitle
  33. NoMenuShadows
  34.  
  35.  
  36. Color
  37. {
  38. BorderColor "cyan"
  39. BorderTileBackground "cyan"
  40. DefaultBackground "green"
  41. DefaultForeground "black"
  42. MenuBackground "white"
  43. MenuBorderColor "green"
  44. MenuForeground "black"
  45. PointerForeground "black"
  46. PointerBackground "white"
  47.  
  48. }
  49.  
  50. #
  51. # Define some useful functions for motion-based actions.
  52. #
  53. MoveDelta 1
  54. Function "move-or-lower" { f.move f.deltastop f.lower }
  55. Function "move-or-raise" { f.move f.deltastop f.raise }
  56. Function "move-or-iconify" { f.move f.deltastop f.iconify }
  57.  
  58. Button3 = : root : f.menu "window"
  59.  
  60. Button1 = m : window|icon : f.function "move-or-lower"
  61. Button2 = m : window|icon : f.iconify
  62. Button3 = m : window|icon : f.function "move-or-raise"
  63.  
  64. menu "window"
  65. {
  66. "New" f.exec "xterm -g 80x25 &"
  67. "Reshape" f.resize
  68. "Move" f.move
  69. "Delete" f.delete
  70. "Quit" f.quit
  71. }
  72.  
  73.  
  74. Cursors
  75. {
  76. Frame "draft_small"
  77. Move "tcross"
  78. Resize "tcross"
  79. Menu "draft_small"
  80. Button "draft_small"
  81. Wait "clock"
  82. Select "dot"
  83. Destroy "dot"
  84. }
Advertisement
Add Comment
Please, Sign In to add comment