Advertisement
BSDG33KCLUB

.mwmrc for mwm icon,restore,max,move,lower

Mar 15th, 2014
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.96 KB | None | 0 0
  1. ! Menu descriptions
  2. !
  3. !
  4. ! Root Menu
  5. ! Workspace menu from MB1 on screen
  6. Menu RootMenu
  7. {
  8. "BSD Workspace" f.title
  9. "Shuffle Up" _U f.circle_up
  10. "Shuffle Down" _D f.circle_down
  11. "Next Window" _N f.next_key
  12. "Previous Window" _v f.prev_key
  13. no-label f.separator
  14. "Pack Icons" _P f.pack_icons
  15.  
  16. no-label f.separator
  17. "Restart..." _R f.restart
  18.  
  19. }
  20.  
  21.  
  22.  
  23. ! Workspace menu from Window menu
  24.  
  25.  
  26. }
  27.  
  28.  
  29.  
  30. ! Customize menu from window menu
  31.  
  32.  
  33. ! Help menu from window menu
  34.  
  35.  
  36.  
  37. ! Default Window Menu
  38. ! Menu associated with window border
  39. Menu DefaultWindowMenu
  40. {
  41. "Restore" _R Mod4<Key>z f.normalize
  42. "Move" _M Mod4<Key>k f.move
  43.  
  44. "Minimize" _n Mod4<Key>x f.minimize
  45. "Maximize" _x Mod4<Key>m f.maximize
  46. "Lower" _L Mod4<Key>Tab f.lower
  47. no-label f.separator
  48.  
  49. "Close" _C Mod4<Key>c f.kill
  50.  
  51. }
  52.  
  53.  
  54.  
  55.  
  56.  
  57. !
  58. !-------------------------------- ------------------------------
  59. !
  60. ! Key bindings
  61. !
  62. !
  63. Keys DefaultKeyBindings
  64. {
  65. Shift<Key>Escape window|icon f.post_wmenu
  66. ! Commented out to avoid conflict with Compose space
  67. ! Meta<Key>space window|icon f.post_wmenu
  68. Mod4<Key> ltroot|icon|window f.next_key
  69. Meta Shift<Key>Tab root|icon|window f.prev_key
  70. Meta<Key>Escape root|icon|window f.next_key
  71. Meta Shift<Key>Escape root|icon|window f.prev_key
  72. Meta Shift Ctrl<Key>exclam root|icon|window f.set_behavior
  73. Meta Ctrl<Key>exclam root|icon|window f.set_behavior
  74. Meta<Key>F6 window f.next_key transient
  75. Meta Shift<Key>F6 window f.prev_key transient
  76. Mod4<Key>s root|icon|window f.menu RootMenu
  77. <Key>F4 icon f.post_wmenu
  78. }
  79. !
  80. !---------------------------------------------------------------
  81. !
  82. ! Button Bindings
  83. !
  84. !
  85. ! Button binding for default keyboard focus policy: Explicit
  86. Buttons DefaultButtonBindings
  87. {
  88. <Btn1Down> icon|frame f.raise
  89. <Btn3Down> icon|frame f.post_wmenu
  90. <Btn1Down> root f.menu RootMenu
  91. <Btn3Down> root f.menu RootMenu
  92. <Btn1Click2> title f.minimize
  93. Shift <Btn1Click2> icon f.minimize
  94. Shift <Btn1Click> icon|frame f.lower
  95. Ctrl <Btn1Click> root|icon|frame f.next_key
  96. Ctrl Shift <Btn1Click> root|icon|frame f.prev_key
  97. Meta <Btn1Click> root|icon|frame f.next_key transient
  98. Meta Shift <Btn1Click> root|icon|frame f.prev_key transient
  99. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement