Advertisement
BSDG33KCLUB

Motif for BSD - .mwmrc

Mar 30th, 2014
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.32 KB | None | 0 0
  1.  
  2. ! Motif config file by: RAZ0REDGE for my BSDs
  3. !
  4. ! Menu descriptions
  5. !
  6. !
  7. ! Root Menu
  8. ! Workspace menu from MB1 on screen
  9. Menu RootMenu
  10. {
  11. "Motif Menu" f.title
  12. no-label f.separator
  13. "URXVT Bash $" f.exec "urxvt -e bash"
  14. no-label f.separator
  15. "Shuffle Up" _U f.circle_up
  16. "Shuffle Down" _D f.circle_down
  17. "Next Window" _N f.next_key
  18. "Previous Window" _v f.prev_key
  19. "Refresh" f.refresh
  20. "Pack Icons" f.pack_icons
  21. no-label f.separator
  22. "Restart..." _R f.restart
  23. "Quit..." _Q f.quit_mwm
  24. }
  25.  
  26.  
  27.  
  28. ! Workspace menu from Window menu
  29. Menu AppMenu
  30. {
  31. "BSD Workspace" f.title
  32. no-label f.separator
  33. "Run Command Root" f.exec "gksu gmrun"
  34. "Run Command User" f.exec "gmrun"
  35. no-label f.separator
  36. "VirtualBox" f.exec "VirtualBox"
  37. "OpenShot" f.exec "openshot"
  38. "LXAppearance" f.exec "lxappearance"
  39. "Nitrogen" f.exec "nitrogen"
  40. "mc" f.exec "urxvt -e mc"
  41. "tmux" f.exec "urxvt -e tmux"
  42. "deadbeef" f.exec "lxmusic"
  43. "rtorrent" f.exec "urxvt -e rtorrent"
  44. "WeeChat" f.exec "urxvt -e weechat"
  45. "irssi" f.exec "urxvt -e irssi"
  46. "file-roller" f.exec "file-roller"
  47. "geany" f.exec "geany"
  48. "vim" f.exec "urxvt -e vim"
  49. "chromium" f.exec "chrome"
  50. "firefox" f.exec "firefox"
  51. "pcmanfm" f.exec "pcmanfm"
  52. "gimp" f.exec "gimp"
  53.  
  54.  
  55. }
  56.  
  57. ! Default Window Menu
  58. ! Menu associated with window border
  59. Menu DefaultWindowMenu
  60. {
  61. "Restore" _R Mod4<Key>z f.normalize
  62. "Move" _M Mod4<Key>k f.move
  63.  
  64. "Minimize" _n Mod4<Key>x f.minimize
  65. "Maximize" _x Mod4<Key>m f.maximize
  66. "Lower" _L Mod4<Key>Tab f.lower
  67. no-label f.separator
  68.  
  69. "Close" _C Mod4<Key>c f.kill
  70.  
  71. }
  72.  
  73. !
  74. !-------------------------------- ------------------------------
  75. !
  76. ! Key bindings
  77. !
  78. !
  79. Keys DefaultKeyBindings
  80. {
  81. Shift<Key>Escape window|icon f.post_wmenu
  82. ! Commented out to avoid conflict with Compose space
  83. ! Meta<Key>space window|icon f.post_wmenu
  84. Meta Shift<Key>Tab root|icon|window f.prev_key
  85. Meta<Key>Escape root|icon|window f.next_key
  86. Meta Shift<Key>Escape root|icon|window f.prev_key
  87. Meta Shift Ctrl<Key>exclam root|icon|window f.set_behavior
  88. Meta Ctrl<Key>exclam root|icon|window f.set_behavior
  89. Meta<Key>F6 window f.next_key transient
  90. Meta Shift<Key>F6 window f.prev_key transient
  91. ! App Key bindings for my BSD system
  92. Mod4<Key>v root|icon|window f.menu AppMenu
  93. Mod4<key>p root|icon|window f.exec "dmenu_run"
  94. Mod4<key>e root|icon|window f.exec "geany"
  95. Mod4<key>a root|icon|window f.exec "deadbeef"
  96. Mod4<key>b root|icon|window f.exec "qbittorrent"
  97. Mod4<key>w root|icon|window f.exec "firefox"
  98. Mod4<key>t root|icon|window f.exec "urxvt -e bash"
  99. Mod4<key>l root|icon|window f.exec "lxappearance"
  100. Mod4<key>g root|icon|window f.exec "gimp"
  101. Mod4<key>s root|icon|window f.exec "smplayer"
  102. Mod4<key>o root|icon|window f.exec "openshot"
  103. Mod4<key>f root|icon|window f.exec "pcmanfm"
  104. Mod4<key>n root|icon|window f.exec "nitrogen"
  105. Mod4<key>i root|icon|window f.exec "urxvt -e weechat"
  106. Mod4<key>r root|icon|window f.restart
  107. Mod4<key>q root|icon|window f.quit_mwm
  108. }
  109. !
  110. !---------------------------------------------------------------
  111. !
  112. ! Button Bindings
  113. !
  114. !
  115. ! Button binding for default keyboard focus policy: Explicit
  116. Buttons DefaultButtonBindings
  117. {
  118. <Btn1Down> icon|frame f.raise
  119. <Btn3Down> root f.menu AppMenu
  120. <Btn1Down> root f.menu RootMenu
  121. Mod4 <Btn1Down> window f.move
  122. Mod4 <Btn3Down> window f.resize
  123. <Btn1Click2> title f.minimize
  124. Shift <Btn1Click2> icon f.minimize
  125. Shift <Btn1Click> icon|frame f.lower
  126. Ctrl <Btn1Click> root|icon|frame f.next_key
  127. Ctrl Shift <Btn1Click> root|icon|frame f.prev_key
  128. Meta <Btn1Click> root|icon|frame f.next_key transient
  129. Meta Shift <Btn1Click> root|icon|frame f.prev_key transient
  130. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement