.twmrc 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. #---------------------------------
  2. # CPI # PROJ. : twmrc
  3. # # FILE : .twmrc
  4. # + # VER. : 20170828.0718UTC
  5. # + # EMAIL : hal@clockworkpi.com
  6. # +++ # HOST : clockworkpi.com
  7. #---------------------------------
  8. NoGrabServer
  9. RestartPreviousState
  10. DecorateTransients
  11. RandomPlacement
  12. BorderWidth 1
  13. NoHighlight
  14. OpaqueMove
  15. MenuBorderWidth 1
  16. NoMenuShadows
  17. NoDefaults
  18. LeftTitleButton "~/launcher/.twm/close" = f.delete
  19. RightTitleButton "~/launcher/.twm/iconify" = f.iconify
  20. RightTitleButton "~/launcher/.twm/resize" = f.resize
  21. RightTitleButton "~/launcher/.twm/fullsize" = f.fullzoom
  22. TitleFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
  23. ResizeFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
  24. MenuFont "-misc-fixed-medium-r-semicondensed-*-*-120-*-*-c-*-iso8859-8"
  25. IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
  26. IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*"
  27. Color
  28. {
  29. BorderColor "grey30"
  30. DefaultBackground "rgb:5/5/5"
  31. DefaultForeground "gray80"
  32. TitleBackground "rgb:5/5/5"
  33. TitleForeground "gray80"
  34. MenuBackground "rgb:5/5/5"
  35. MenuForeground "gray80"
  36. MenuTitleBackground "gray80"
  37. MenuTitleForeground "rgb:5/5/5"
  38. MenuBorderColor "gray60"
  39. IconBackground "rgb:4/4/4"
  40. IconForeground "gray80"
  41. IconBorderColor "gray70"
  42. IconManagerBackground "rgb:5/5/5"
  43. IconManagerForeground "gray80"
  44. }
  45. Cursors
  46. {
  47. Menu "hand2"
  48. }
  49. ForceIcons
  50. Icons
  51. {
  52. "Chrome" "~/launcher/.twm/chrome.xbm"
  53. "xterm" "~/launcher/.twm/xlogo32"
  54. }
  55. MoveDelta 3
  56. Function "move-or-lower" { f.move f.deltastop f.lower }
  57. Function "move-or-raise" { f.move f.deltastop f.raise }
  58. Function "move-or-iconify" { f.move f.deltastop f.iconify }
  59. Button1 = : root : f.menu "main"
  60. Button3 = : root : f.menu "exec"
  61. Button1 = m : window|icon : f.function "move-or-raise"
  62. Button2 = m : window|icon : f.iconify
  63. Button3 = m : window|icon : f.resize
  64. Button1 = : title : f.function "move-or-raise"
  65. Button2 = : title : f.raiselower
  66. Button1 = : icon : f.function "move-or-iconify"
  67. Button2 = : icon : f.iconify
  68. Button1 = : iconmgr : f.iconify
  69. Button2 = : iconmgr : f.iconify
  70. NoTitle
  71. {
  72. "gkrellm"
  73. }
  74. menu "main"
  75. {
  76. "CLOCKWORKPI" f.title
  77. "Raise" f.raise
  78. "Lower" f.lower
  79. "Focus" f.focus
  80. "Unfocus" f.unfocus
  81. "-------------" f.nop
  82. "Show Iconmgr" f.showiconmgr
  83. "Hide Iconmgr" f.hideiconmgr
  84. "Kill" f.destroy
  85. "-------------" f.nop
  86. "Restart" f.restart
  87. "Exit" ("gray80":"#773333") f.menu "exit"
  88. }
  89. menu "exit"
  90. {
  91. "Are you sure ?" ("gray80":"#773333") f.title
  92. "No" f.nop
  93. "Yes" f.quit
  94. }
  95. menu "exec"
  96. {
  97. ":: Applications ::" f.title
  98. "Xterm" ("gray80":"#334455") f.exec "exec /usr/bin/xterm &"
  99. "Xterm Orange" ("gray80":"#aa5522") f.exec "exec /usr/bin/xterm -fg '#dc8700' &"
  100. "Xmag" f.exec "exec /usr/bin/xmag &"
  101. "Gkrellm" f.exec "/usr/bin/gkrellm &"
  102. "XClock" f.exec "exec /usr/bin/xclock &"
  103. "XFig" f.exec "exec /usr/bin/xfig -nosplash &"
  104. "Wicd client" f.exec "exec /usr/bin/wicd-client -n &"
  105. "xpdf" f.exec "exec /usr/bin/xpdf &"
  106. }
  107. WindowRing
  108. {
  109. "xterm"
  110. "xpdf"
  111. }
  112. "r" = m | c: all : f.exec "exec /usr/bin/xterm -fg '#dc8700' &"
  113. "s" = m | c: all : f.exec "exec /usr/bin/alsamixergui &"
  114. "t" = m | c: all : f.exec "exec /usr/bin/xterm +sb &"
  115. "w" = m | c: all : f.exec "exec /usr/bin/wicd-client -n &"
  116. "i" = m | s: all : f.iconify
  117. "x" = m | s: all : f.delete
  118. "F12" = m : all : f.fullzoom
  119. "Tab" = m : all : f.warpring "next"